home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / AppleScript / Development Tools / Tools Goodies / Apple Event XCMDs 1.0b3 / Apple Event XCMDs b3 next >
MacBinary  |  1993-04-14  |  193.5 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, Thu Oct 3 05:19:07 1991, modified Wed Apr 14 05:50:57 1993, creator HyperCard, type HyperCard stack, 118816 bytes "Apple Event XCMDs b3" , at 0x1d0a0 79066 bytes resource default (weak)
99% file data default
49% TrID Mac HyperCard stack (MacBinary) default
33% TrID raw Group 3 FAX bitmap default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 41 70 70 6c 65 20 | 45 76 65 6e 74 20 58 43 |..Apple |Event XC|
|00000010| 4d 44 73 20 62 33 00 00 | 00 00 00 00 00 00 00 00 |MDs b3..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 00 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 d0 20 00 | 01 34 da a5 10 91 0b a7 |...... .|.4......|
|00000060| f1 8f 01 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 47 a8 00 00 |........|....G...|
|00000080| 00 00 16 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |....STAK|........|
|00000090| 00 00 00 0a 00 01 d0 20 | 00 00 16 00 00 00 00 00 |....... |........|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 0a 76 00 00 00 07 |........|...v....|
|000000b0| 00 00 16 2c 00 00 10 62 | 00 00 00 00 00 00 00 00 |...,...b|........|
|000000c0| 00 00 11 ce 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| dd c8 fd 41 00 00 00 00 | 00 59 00 70 01 af 02 70 |...A....|.Y.p...p|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d de 00 00 0c 6b | 01 56 02 00 00 00 00 00 |.......k|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 66 75 6e 63 74 69 6f 6e | 20 41 45 53 65 6e 64 4d |function| AESendM|
|00000690| 6f 64 65 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 73 |ode.put |0 into s|
|000006a0| 4d 6f 64 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |Mode.rep|eat with|
|000006b0| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 70 61 | i = 1 t|o the pa|
|000006c0| 72 61 6d 43 6f 75 6e 74 | 0d 70 75 74 20 70 61 72 |ramCount|.put par|
|000006d0| 61 6d 28 69 29 20 69 6e | 74 6f 20 74 68 69 73 50 |am(i) in|to thisP|
|000006e0| 61 72 61 6d 0d 69 66 20 | 74 68 69 73 50 61 72 61 |aram.if |thisPara|
|000006f0| 6d 20 3d 20 22 6e 6f 52 | 65 70 6c 79 22 20 74 68 |m = "noR|eply" th|
|00000700| 65 6e 0d 61 64 64 20 31 | 20 74 6f 20 73 4d 6f 64 |en.add 1| to sMod|
|00000710| 65 0d 65 6c 73 65 20 69 | 66 20 74 68 69 73 50 61 |e.else i|f thisPa|
|00000720| 72 61 6d 20 3d 20 22 77 | 61 69 74 52 65 70 6c 79 |ram = "w|aitReply|
|00000730| 22 20 74 68 65 6e 0d 61 | 64 64 20 33 20 74 6f 20 |" then.a|dd 3 to |
|00000740| 73 4d 6f 64 65 0d 65 6c | 73 65 20 69 66 20 74 68 |sMode.el|se if th|
|00000750| 69 73 50 61 72 61 6d 20 | 3d 20 22 4e 65 76 65 72 |isParam |= "Never|
|00000760| 49 6e 74 65 72 61 63 74 | 22 20 74 68 65 6e 0d 61 |Interact|" then.a|
|00000770| 64 64 20 31 36 20 74 6f | 20 73 4d 6f 64 65 0d 65 |dd 16 to| sMode.e|
|00000780| 6c 73 65 20 69 66 20 74 | 68 69 73 50 61 72 61 6d |lse if t|hisParam|
|00000790| 20 3d 20 22 43 61 6e 49 | 6e 74 65 72 61 63 74 22 | = "CanI|nteract"|
|000007a0| 20 74 68 65 6e 0d 61 64 | 64 20 33 32 20 74 6f 20 | then.ad|d 32 to |
|000007b0| 73 4d 6f 64 65 0d 65 6c | 73 65 20 69 66 20 74 68 |sMode.el|se if th|
|000007c0| 69 73 50 61 72 61 6d 20 | 3d 20 22 41 6c 77 61 79 |isParam |= "Alway|
|000007d0| 73 49 6e 74 65 72 61 63 | 74 22 20 74 68 65 6e 0d |sInterac|t" then.|
|000007e0| 61 64 64 20 34 38 20 74 | 6f 20 73 4d 6f 64 65 0d |add 48 t|o sMode.|
|000007f0| 65 6e 64 20 69 66 0d 2d | 2d 20 6e 6f 74 20 64 6f |end if.-|- not do|
|00000800| 6e 65 20 79 65 74 2c 20 | 6e 65 65 64 20 74 6f 20 |ne yet, |need to |
|00000810| 61 64 64 20 6d 6f 72 65 | 20 63 6f 6e 73 74 61 6e |add more| constan|
|00000820| 74 73 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |ts.end r|epeat.re|
|00000830| 74 75 72 6e 20 73 4d 6f | 64 65 0d 65 6e 64 20 41 |turn sMo|de.end A|
|00000840| 45 53 65 6e 64 4d 6f 64 | 65 0d 0d 66 75 6e 63 74 |ESendMod|e..funct|
|00000850| 69 6f 6e 20 65 78 6d 6e | 0d 72 65 74 75 72 6e 20 |ion exmn|.return |
|00000860| 22 be 65 78 6d 6e be 30 | 22 0d 65 6e 64 20 65 78 |".exmn.0|".end ex|
|00000870| 6d 6e 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 4e 75 6c |mn..func|tion Nul|
|00000880| 6c 44 65 73 63 0d 72 65 | 74 75 72 6e 20 22 be 6e |lDesc.re|turn ".n|
|00000890| 75 6c 6c be 30 22 0d 65 | 6e 64 20 6e 75 6c 6c 44 |ull.0".e|nd nullD|
|000008a0| 65 73 63 0d 0d 66 75 6e | 63 74 69 6f 6e 20 41 45 |esc..fun|ction AE|
|000008b0| 43 68 75 6e 6b 20 6f 62 | 6a 65 63 74 4e 61 6d 65 |Chunk ob|jectName|
|000008c0| 2c 20 66 6f 72 6d 2c 20 | 64 61 74 61 0d 70 75 74 |, form, |data.put|
|000008d0| 20 74 68 65 20 70 61 72 | 61 6d 43 6f 75 6e 74 20 | the par|amCount |
|000008e0| 69 6e 74 6f 20 6e 0d 69 | 66 20 6e 20 3e 20 33 20 |into n.i|f n > 3 |
|000008f0| 74 68 65 6e 0d 70 75 74 | 20 6f 62 6a 65 63 74 4e |then.put| objectN|
|00000900| 61 6d 65 20 26 20 4f 62 | 6a 65 63 74 20 26 20 22 |ame & Ob|ject & "|
|00000910| 28 66 6f 72 6d 2c 20 64 | 61 74 61 22 20 69 6e 74 |(form, d|ata" int|
|00000920| 6f 20 73 74 6d 74 0d 70 | 75 74 20 22 29 22 20 69 |o stmt.p|ut ")" i|
|00000930| 6e 74 6f 20 65 6e 64 69 | 6e 67 0d 70 75 74 20 34 |nto endi|ng.put 4|
|00000940| 20 69 6e 74 6f 20 69 0d | 72 65 70 65 61 74 20 77 | into i.|repeat w|
|00000950| 68 69 6c 65 20 6e 20 3e | 3d 20 69 0d 70 75 74 20 |hile n >|= i.put |
|00000960| 22 2c 22 20 26 20 70 61 | 72 61 6d 28 69 29 20 26 |"," & pa|ram(i) &|
|00000970| 20 22 4f 62 6a 65 63 74 | 28 22 20 26 20 c2 0d 70 | "Object|(" & ..p|
|00000980| 61 72 61 6d 28 69 2b 31 | 29 20 26 20 22 2c 70 61 |aram(i+1|) & ",pa|
|00000990| 72 61 6d 28 22 20 26 20 | 69 2b 32 20 26 20 22 29 |ram(" & |i+2 & ")|
|000009a0| 22 20 61 66 74 65 72 20 | 73 74 6d 74 0d 70 75 74 |" after |stmt.put|
|000009b0| 20 22 29 22 20 61 66 74 | 65 72 20 65 6e 64 69 6e | ")" aft|er endin|
|000009c0| 67 0d 61 64 64 20 33 20 | 74 6f 20 69 0d 65 6e 64 |g.add 3 |to i.end|
|000009d0| 20 72 65 70 65 61 74 0d | 70 75 74 20 65 6e 64 69 | repeat.|put endi|
|000009e0| 6e 67 20 61 66 74 65 72 | 20 73 74 6d 74 0d 65 6c |ng after| stmt.el|
|000009f0| 73 65 0d 70 75 74 20 6f | 62 6a 65 63 74 4e 61 6d |se.put o|bjectNam|
|00000a00| 65 20 26 20 4f 62 6a 65 | 63 74 20 26 20 22 28 66 |e & Obje|ct & "(f|
|00000a10| 6f 72 6d 2c 20 64 61 74 | 61 29 22 20 69 6e 74 6f |orm, dat|a)" into|
|00000a20| 20 73 74 6d 74 0d 65 6e | 64 20 69 66 0d 72 65 74 | stmt.en|d if.ret|
|00000a30| 75 72 6e 20 76 61 6c 75 | 65 20 6f 66 20 73 74 6d |urn valu|e of stm|
|00000a40| 74 0d 65 6e 64 20 41 45 | 43 68 75 6e 6b 0d 0d 66 |t.end AE|Chunk..f|
|00000a50| 75 6e 63 74 69 6f 6e 20 | 41 45 50 72 6f 70 65 72 |unction |AEProper|
|00000a60| 74 79 4f 66 43 68 75 6e | 6b 20 70 72 6f 70 65 72 |tyOfChun|k proper|
|00000a70| 74 79 2c 20 6f 62 6a 65 | 63 74 4e 61 6d 65 2c 20 |ty, obje|ctName, |
|00000a80| 66 6f 72 6d 2c 20 64 61 | 74 61 0d 70 75 74 20 74 |form, da|ta.put t|
|00000a90| 68 65 20 70 61 72 61 6d | 43 6f 75 6e 74 20 69 6e |he param|Count in|
|00000aa0| 74 6f 20 6e 0d 69 66 20 | 6e 20 3e 20 34 20 74 68 |to n.if |n > 4 th|
|00000ab0| 65 6e 0d 70 75 74 20 6f | 62 6a 65 63 74 4e 61 6d |en.put o|bjectNam|
|00000ac0| 65 20 26 20 22 50 72 6f | 70 65 72 74 79 22 20 26 |e & "Pro|perty" &|
|00000ad0| 20 22 28 70 72 6f 70 65 | 72 74 79 2c 20 66 6f 72 | "(prope|rty, for|
|00000ae0| 6d 2c 20 64 61 74 61 22 | 20 69 6e 74 6f 20 73 74 |m, data"| into st|
|00000af0| 6d 74 0d 70 75 74 20 22 | 29 22 20 69 6e 74 6f 20 |mt.put "|)" into |
|00000b00| 65 6e 64 69 6e 67 0d 70 | 75 74 20 35 20 69 6e 74 |ending.p|ut 5 int|
|00000b10| 6f 20 69 0d 72 65 70 65 | 61 74 20 77 68 69 6c 65 |o i.repe|at while|
|00000b20| 20 6e 20 3e 3d 20 69 0d | 70 75 74 20 22 2c 22 20 | n >= i.|put "," |
|00000b30| 26 20 70 61 72 61 6d 28 | 69 29 20 26 20 22 4f 62 |& param(|i) & "Ob|
|00000b40| 6a 65 63 74 28 22 20 26 | 20 c2 0d 70 61 72 61 6d |ject(" &| ..param|
|00000b50| 28 69 2b 31 29 20 26 20 | 22 2c 70 61 72 61 6d 28 |(i+1) & |",param(|
|00000b60| 22 20 26 20 69 2b 32 20 | 26 20 22 29 22 20 61 66 |" & i+2 |& ")" af|
|00000b70| 74 65 72 20 73 74 6d 74 | 0d 70 75 74 20 22 29 22 |ter stmt|.put ")"|
|00000b80| 20 61 66 74 65 72 20 65 | 6e 64 69 6e 67 0d 61 64 | after e|nding.ad|
|00000b90| 64 20 33 20 74 6f 20 69 | 0d 65 6e 64 20 72 65 70 |d 3 to i|.end rep|
|00000ba0| 65 61 74 0d 70 75 74 20 | 65 6e 64 69 6e 67 20 61 |eat.put |ending a|
|00000bb0| 66 74 65 72 20 73 74 6d | 74 0d 65 6c 73 65 0d 70 |fter stm|t.else.p|
|00000bc0| 75 74 20 6f 62 6a 65 63 | 74 4e 61 6d 65 20 26 20 |ut objec|tName & |
|00000bd0| 22 50 72 6f 70 65 72 74 | 79 22 20 26 20 22 28 70 |"Propert|y" & "(p|
|00000be0| 72 6f 70 65 72 74 79 2c | 20 66 6f 72 6d 2c 20 64 |roperty,| form, d|
|00000bf0| 61 74 61 29 22 20 69 6e | 74 6f 20 73 74 6d 74 0d |ata)" in|to stmt.|
|00000c00| 65 6e 64 20 69 66 0d 72 | 65 74 75 72 6e 20 76 61 |end if.r|eturn va|
|00000c10| 6c 75 65 20 6f 66 20 73 | 74 6d 74 0d 65 6e 64 20 |lue of s|tmt.end |
|00000c20| 41 45 50 72 6f 70 65 72 | 74 79 4f 66 43 68 75 6e |AEProper|tyOfChun|
|00000c30| 6b 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 41 45 41 6e |k..funct|ion AEAn|
|00000c40| 64 54 65 73 74 0d 70 75 | 74 20 74 68 65 20 70 61 |dTest.pu|t the pa|
|00000c50| 72 61 6d 73 20 69 6e 74 | 6f 20 78 0d 70 75 74 20 |rams int|o x.put |
|00000c60| 6f 66 66 73 65 74 28 22 | 28 22 2c 20 78 29 20 69 |offset("|(", x) i|
|00000c70| 6e 74 6f 20 6e 0d 70 75 | 74 20 22 41 45 4c 6f 67 |nto n.pu|t "AELog|
|00000c80| 69 63 53 70 65 63 28 22 | 20 26 20 71 75 6f 74 65 |icSpec("| & quote|
|00000c90| 20 26 20 22 41 4e 44 20 | 22 20 26 20 71 75 6f 74 | & "AND |" & quot|
|00000ca0| 65 20 26 20 22 2c 22 20 | 69 6e 74 6f 20 63 68 61 |e & "," |into cha|
|00000cb0| 72 20 31 20 74 6f 20 6e | 20 6f 66 20 78 0d 72 65 |r 1 to n| of x.re|
|00000cc0| 74 75 72 6e 20 76 61 6c | 75 65 28 78 29 0d 65 6e |turn val|ue(x).en|
|00000cd0| 64 20 41 45 41 6e 64 54 | 65 73 74 0d 0d 66 75 6e |d AEAndT|est..fun|
|00000ce0| 63 74 69 6f 6e 20 41 45 | 41 6e 64 54 65 73 74 0d |ction AE|AndTest.|
|00000cf0| 70 75 74 20 74 68 65 20 | 70 61 72 61 6d 73 20 69 |put the |params i|
|00000d00| 6e 74 6f 20 78 0d 70 75 | 74 20 6f 66 66 73 65 74 |nto x.pu|t offset|
|00000d10| 28 22 28 22 2c 20 78 29 | 20 69 6e 74 6f 20 6e 0d |("(", x)| into n.|
|00000d20| 70 75 74 20 22 41 45 4c | 6f 67 69 63 53 70 65 63 |put "AEL|ogicSpec|
|00000d30| 28 22 20 26 20 71 75 6f | 74 65 20 26 20 22 4f 52 |(" & quo|te & "OR|
|00000d40| 20 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 2c | " & qu|ote & ",|
|00000d50| 22 20 69 6e 74 6f 20 63 | 68 61 72 20 31 20 74 6f |" into c|har 1 to|
|00000d60| 20 6e 20 6f 66 20 78 0d | 72 65 74 75 72 6e 20 76 | n of x.|return v|
|00000d70| 61 6c 75 65 28 78 29 0d | 65 6e 64 20 41 45 41 6e |alue(x).|end AEAn|
|00000d80| 64 54 65 73 74 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |dTest..f|unction |
|00000d90| 41 45 4e 6f 74 54 65 73 | 74 0d 70 75 74 20 74 68 |AENotTes|t.put th|
|00000da0| 65 20 70 61 72 61 6d 73 | 20 69 6e 74 6f 20 78 0d |e params| into x.|
|00000db0| 70 75 74 20 6f 66 66 73 | 65 74 28 22 28 22 2c 20 |put offs|et("(", |
|00000dc0| 78 29 20 69 6e 74 6f 20 | 6e 0d 70 75 74 20 22 41 |x) into |n.put "A|
|00000dd0| 45 4c 6f 67 69 63 53 70 | 65 63 2e 28 22 20 26 20 |ELogicSp|ec.(" & |
|00000de0| 71 75 6f 74 65 20 26 20 | 22 4e 4f 54 20 22 20 26 |quote & |"NOT " &|
|00000df0| 20 71 75 6f 74 65 20 26 | 20 22 2c 22 20 69 6e 74 | quote &| "," int|
|00000e00| 6f 20 63 68 61 72 20 31 | 20 74 6f 20 6e 20 6f 66 |o char 1| to n of|
|00000e10| 20 78 0d 72 65 74 75 72 | 6e 20 76 61 6c 75 65 28 | x.retur|n value(|
|00000e20| 78 29 0d 65 6e 64 20 41 | 45 4e 6f 74 54 65 73 74 |x).end A|ENotTest|
|00000e30| 0d 0d 6f 6e 20 41 45 48 | 61 6e 64 6c 65 45 72 72 |..on AEH|andleErr|
|00000e40| 6f 72 20 65 72 72 6f 72 | 53 74 72 69 6e 67 0d 61 |or error|String.a|
|00000e50| 6e 73 77 65 72 20 65 72 | 72 6f 72 53 74 72 69 6e |nswer er|rorStrin|
|00000e60| 67 20 77 69 74 68 20 64 | 65 62 75 67 20 6f 72 20 |g with d|ebug or |
|00000e70| 63 6f 6e 74 69 6e 75 65 | 20 6f 72 20 63 61 6e 63 |continue| or canc|
|00000e80| 65 6c 0d 69 66 20 69 74 | 20 69 73 20 63 61 6e 63 |el.if it| is canc|
|00000e90| 65 6c 20 74 68 65 6e 0d | 65 78 69 74 20 74 6f 20 |el then.|exit to |
|00000ea0| 68 79 70 65 72 63 61 72 | 64 0d 65 6c 73 65 20 69 |hypercar|d.else i|
|00000eb0| 66 20 69 74 20 69 73 20 | 64 65 62 75 67 20 74 68 |f it is |debug th|
|00000ec0| 65 6e 0d 64 65 62 75 67 | 20 63 68 65 63 6b 70 6f |en.debug| checkpo|
|00000ed0| 69 6e 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 41 |int.end |if.end A|
|00000ee0| 45 48 61 6e 64 6c 65 45 | 72 72 6f 72 0d 0d 6f 6e |EHandleE|rror..on|
|00000ef0| 20 41 45 46 72 65 65 55 | 6e 75 73 65 64 44 65 73 | AEFreeU|nusedDes|
|00000f00| 63 0d 67 6c 6f 62 61 6c | 20 63 72 65 61 74 65 64 |c.global| created|
|00000f10| 44 65 73 63 0d 70 75 74 | 20 6e 75 6d 62 65 72 20 |Desc.put| number |
|00000f20| 6f 66 20 69 74 65 6d 73 | 20 69 6e 20 63 72 65 61 |of items| in crea|
|00000f30| 74 65 64 44 65 73 63 20 | 69 6e 74 6f 20 6e 0d 72 |tedDesc |into n.r|
|00000f40| 65 70 65 61 74 20 6e 20 | 74 69 6d 65 73 0d 41 45 |epeat n |times.AE|
|00000f50| 44 69 73 70 6f 73 65 44 | 65 73 63 20 69 74 65 6d |DisposeD|esc item|
|00000f60| 20 31 20 6f 66 20 63 72 | 65 61 74 65 64 44 65 73 | 1 of cr|eatedDes|
|00000f70| 63 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |c.end re|peat.end|
|00000f80| 20 41 45 46 72 65 65 55 | 6e 75 73 65 64 44 65 73 | AEFreeU|nusedDes|
|00000f90| 63 0d 0d 6f 6e 20 41 45 | 53 74 61 72 74 54 61 72 |c..on AE|StartTar|
|00000fa0| 67 65 74 69 6e 67 20 61 | 70 70 4e 61 6d 65 2c 6c |geting a|ppName,l|
|00000fb0| 61 75 6e 63 68 69 6e 67 | 0d 67 6c 6f 62 61 6c 20 |aunching|.global |
|00000fc0| 63 75 72 54 61 72 67 65 | 74 41 70 70 0d 70 75 74 |curTarge|tApp.put|
|00000fd0| 20 41 45 4b 65 65 70 44 | 65 73 63 28 41 45 43 72 | AEKeepD|esc(AECr|
|00000fe0| 65 61 74 65 44 65 73 63 | 28 22 74 61 72 67 22 2c |eateDesc|("targ",|
|00000ff0| 22 74 61 72 67 22 2c 61 | 70 70 4e 61 6d 65 29 29 |"targ",a|ppName))|
|00001000| 20 69 6e 74 6f 20 78 0d | 69 66 20 28 63 68 61 72 | into x.|if (char|
|00001010| 20 31 20 74 6f 20 36 20 | 6f 66 20 78 20 3d 20 22 | 1 to 6 |of x = "|
|00001020| ae 6e 75 6c 6c ae 22 29 | 20 6f 72 20 28 63 68 61 |.null.")| or (cha|
|00001030| 72 20 31 20 74 6f 20 36 | 20 6f 66 20 78 20 3d 20 |r 1 to 6| of x = |
|00001040| 22 ae 65 72 72 6f ae 22 | 29 20 74 68 65 6e 0d 69 |".erro."|) then.i|
|00001050| 66 20 28 6c 61 75 6e 63 | 68 69 6e 67 20 3d 20 22 |f (launc|hing = "|
|00001060| 22 29 20 6f 72 20 28 6c | 61 75 6e 63 68 69 6e 67 |") or (l|aunching|
|00001070| 20 3d 20 22 74 72 75 65 | 22 29 20 74 68 65 6e 0d | = "true|") then.|
|00001080| 6f 70 65 6e 20 61 70 70 | 4e 61 6d 65 0d 70 75 74 |open app|Name.put|
|00001090| 20 41 45 4b 65 65 70 44 | 65 73 63 28 41 45 43 72 | AEKeepD|esc(AECr|
|000010a0| 65 61 74 65 44 65 73 63 | 28 22 74 61 72 67 22 2c |eateDesc|("targ",|
|000010b0| 22 74 61 72 67 22 2c 61 | 70 70 4e 61 6d 65 29 29 |"targ",a|ppName))|
|000010c0| 20 69 6e 74 6f 20 78 0d | 65 6e 64 20 69 66 0d 69 | into x.|end if.i|
|000010d0| 66 20 28 63 68 61 72 20 | 31 20 74 6f 20 36 20 6f |f (char |1 to 6 o|
|000010e0| 66 20 78 20 3d 20 22 ae | 6e 75 6c 6c ae 22 29 20 |f x = ".|null.") |
|000010f0| 6f 72 20 28 63 68 61 72 | 20 31 20 74 6f 20 36 20 |or (char| 1 to 6 |
|00001100| 6f 66 20 78 20 3d 20 22 | ae 65 72 72 6f ae 22 29 |of x = "|.erro.")|
|00001110| 20 74 68 65 6e 20 70 75 | 74 20 61 70 70 4e 61 6d | then pu|t appNam|
|00001120| 65 20 69 6e 74 6f 20 78 | 0d 65 6e 64 20 69 66 0d |e into x|.end if.|
|00001130| 70 75 74 20 78 20 26 20 | 72 65 74 75 72 6e 20 62 |put x & |return b|
|00001140| 65 66 6f 72 65 20 63 75 | 72 54 61 72 67 65 74 41 |efore cu|rTargetA|
|00001150| 70 70 0d 65 6e 64 20 41 | 45 53 74 61 72 74 54 61 |pp.end A|EStartTa|
|00001160| 72 67 65 74 69 6e 67 0d | 0d 6f 6e 20 41 45 53 74 |rgeting.|.on AESt|
|00001170| 6f 70 54 61 72 67 65 74 | 69 6e 67 0d 67 6c 6f 62 |opTarget|ing.glob|
|00001180| 61 6c 20 63 75 72 54 61 | 72 67 65 74 41 70 70 0d |al curTa|rgetApp.|
|00001190| 70 75 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 63 75 |put line| 1 of cu|
|000011a0| 72 54 61 72 67 65 74 41 | 70 70 20 69 6e 74 6f 20 |rTargetA|pp into |
|000011b0| 78 0d 64 65 6c 65 74 65 | 20 6c 69 6e 65 20 31 20 |x.delete| line 1 |
|000011c0| 6f 66 20 63 75 72 54 61 | 72 67 65 74 41 70 70 0d |of curTa|rgetApp.|
|000011d0| 41 45 44 69 73 70 6f 73 | 65 44 65 73 63 28 78 29 |AEDispos|eDesc(x)|
|000011e0| 0d 65 6e 64 20 41 45 53 | 74 6f 70 54 61 72 67 65 |.end AES|topTarge|
|000011f0| 74 69 6e 67 0d 0d 6f 6e | 20 4d 61 6b 65 53 75 72 |ting..on| MakeSur|
|00001200| 65 4c 61 75 6e 63 68 65 | 64 20 61 70 70 4e 61 6d |eLaunche|d appNam|
|00001210| 65 0d 69 66 20 61 70 70 | 4e 61 6d 65 20 69 73 20 |e.if app|Name is |
|00001220| 6e 6f 74 20 69 6e 20 74 | 68 65 20 70 72 6f 67 72 |not in t|he progr|
|00001230| 61 6d 73 20 74 68 65 6e | 0d 6f 70 65 6e 20 61 70 |ams then|.open ap|
|00001240| 70 4e 61 6d 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |pName.en|d if.end|
|00001250| 20 4d 61 6b 65 53 75 72 | 65 4c 61 75 6e 63 68 65 | MakeSur|eLaunche|
|00001260| 64 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 41 45 4c 6f |d..funct|ion AELo|
|00001270| 6e 67 54 79 70 65 20 64 | 61 74 61 0d 72 65 74 75 |ngType d|ata.retu|
|00001280| 72 6e 20 41 45 43 72 65 | 61 74 65 44 65 73 63 28 |rn AECre|ateDesc(|
|00001290| 22 6c 6f 6e 67 22 2c 22 | 6c 6f 6e 67 22 2c 64 61 |"long","|long",da|
|000012a0| 74 61 29 0d 65 6e 64 20 | 41 45 4c 6f 6e 67 54 79 |ta).end |AELongTy|
|000012b0| 70 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 41 45 53 |pe..func|tion AES|
|000012c0| 68 6f 72 74 54 79 70 65 | 20 64 61 74 61 0d 72 65 |hortType| data.re|
|000012d0| 74 75 72 6e 20 41 45 43 | 72 65 61 74 65 44 65 73 |turn AEC|reateDes|
|000012e0| 63 28 22 73 68 6f 72 22 | 2c 22 73 68 6f 72 22 2c |c("shor"|,"shor",|
|000012f0| 64 61 74 61 29 0d 65 6e | 64 20 41 45 53 68 6f 72 |data).en|d AEShor|
|00001300| 74 54 79 70 65 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |tType..f|unction |
|00001310| 41 45 42 6f 6f 6c 65 61 | 6e 54 79 70 65 20 64 61 |AEBoolea|nType da|
|00001320| 74 61 0d 72 65 74 75 72 | 6e 20 41 45 43 72 65 61 |ta.retur|n AECrea|
|00001330| 74 65 44 65 73 63 28 22 | 62 6f 6f 6c 22 2c 22 62 |teDesc("|bool","b|
|00001340| 6f 6f 6c 22 2c 64 61 74 | 61 29 0d 65 6e 64 20 41 |ool",dat|a).end A|
|00001350| 45 42 6f 6f 6c 65 61 6e | 54 79 70 65 0d 0d 66 75 |EBoolean|Type..fu|
|00001360| 6e 63 74 69 6f 6e 20 41 | 45 50 6f 69 6e 74 54 79 |nction A|EPointTy|
|00001370| 70 65 20 68 50 6f 73 2c | 20 76 50 6f 73 0d 72 65 |pe hPos,| vPos.re|
|00001380| 74 75 72 6e 20 41 45 43 | 72 65 61 74 65 44 65 73 |turn AEC|reateDes|
|00001390| 63 28 22 51 44 70 74 22 | 2c 22 51 44 70 74 22 2c |c("QDpt"|,"QDpt",|
|000013a0| 68 50 6f 73 20 26 20 22 | 2c 22 20 26 20 76 50 6f |hPos & "|," & vPo|
|000013b0| 73 29 0d 65 6e 64 20 41 | 45 50 6f 69 6e 74 54 79 |s).end A|EPointTy|
|000013c0| 70 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 41 45 52 |pe..func|tion AER|
|000013d0| 65 63 74 61 6e 67 6c 65 | 54 79 70 65 20 6c 65 66 |ectangle|Type lef|
|000013e0| 74 2c 74 6f 70 2c 72 69 | 67 68 74 2c 62 6f 74 74 |t,top,ri|ght,bott|
|000013f0| 6f 6d 0d 72 65 74 75 72 | 6e 20 41 45 43 72 65 61 |om.retur|n AECrea|
|00001400| 74 65 44 65 73 63 28 22 | 71 64 72 74 22 2c 22 71 |teDesc("|qdrt","q|
|00001410| 64 72 74 22 2c 6c 65 66 | 74 20 26 20 22 2c 22 20 |drt",lef|t & "," |
|00001420| 26 20 74 6f 70 20 26 20 | 22 2c 22 20 26 20 72 69 |& top & |"," & ri|
|00001430| 67 68 74 20 26 20 22 2c | 22 20 26 20 62 6f 74 74 |ght & ",|" & bott|
|00001440| 6f 6d 29 0d 65 6e 64 20 | 41 45 52 65 63 74 61 6e |om).end |AERectan|
|00001450| 67 6c 65 54 79 70 65 0d | 0d 66 75 6e 63 74 69 6f |gleType.|.functio|
|00001460| 6e 20 41 45 45 78 74 65 | 6e 64 65 64 54 79 70 65 |n AEExte|ndedType|
|00001470| 20 64 61 74 61 0d 72 65 | 74 75 72 6e 20 41 45 43 | data.re|turn AEC|
|00001480| 72 65 61 74 65 44 65 73 | 63 28 22 65 78 74 65 22 |reateDes|c("exte"|
|00001490| 2c 22 65 78 74 65 22 2c | 64 61 74 61 29 0d 65 6e |,"exte",|data).en|
|000014a0| 64 20 41 45 45 78 74 65 | 6e 64 65 64 54 79 70 65 |d AEExte|ndedType|
|000014b0| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 0d 74 ef | 00 01 04 76 00 01 22 43 |......t.|...v.."C|
|000016b0| 00 0e 69 6b 00 0e 73 de | 00 01 77 e0 00 00 00 00 |..ik..s.|..w.....|
|000016c0| 00 00 c0 62 00 0e 76 ce | 00 00 c4 3f 00 01 72 ed |...b..v.|...?..r.|
|000016d0| 00 00 00 00 00 0d 6c d5 | 00 08 a0 2c 00 08 b3 73 |......l.|...,...s|
|000016e0| 00 00 00 00 00 01 24 bc | 00 09 39 03 00 09 a5 e1 |......$.|..9.....|
|000016f0| 00 08 9b 88 00 0b a4 cc | 00 00 00 00 00 0c 40 64 |........|......@d|
|00001700| 00 00 00 00 00 0d 3e f6 | 00 00 00 00 00 00 00 00 |......>.|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 00 80 4c 49 53 54 | 00 00 10 62 00 00 00 00 |....LIST|...b....|
|00001890| 00 00 00 01 00 00 08 00 | 00 00 00 07 00 84 00 02 |........|........|
|000018a0| 00 20 00 03 e0 00 02 4e | 00 00 00 07 00 00 00 00 |. .....N|........|
|000018b0| 00 00 12 3f 00 07 00 00 | 00 00 00 00 00 00 00 00 |...?....|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 08 00 50 41 47 45 | 00 00 12 3f 00 00 00 00 |....PAGE|...?....|
|00001910| 00 00 10 62 85 b4 21 d7 | 00 00 16 2c 60 00 08 04 |...b..!.|...,`...|
|00001920| 00 00 80 00 00 00 01 00 | 00 00 00 00 a0 10 00 00 |........|........|
|00001930| 40 00 05 02 00 00 00 00 | 00 00 01 00 10 40 00 00 |@.......|.....@..|
|00001940| 00 00 00 80 40 00 08 00 | 00 00 04 00 08 00 00 00 |....@...|........|
|00001950| 00 00 01 10 00 00 00 00 | 00 10 00 00 02 00 40 00 |........|......@.|
|00001960| 00 00 00 01 00 00 02 00 | 00 00 80 00 00 60 00 00 |........|.....`..|
|00001970| 40 00 00 00 08 00 00 00 | 00 00 00 00 00 00 00 00 |@.......|........|
|00001980| 00 02 00 00 00 00 00 00 | 00 00 20 00 08 00 00 00 |........|.. .....|
|00001990| 11 00 00 00 00 00 00 00 | 00 00 00 00 00 00 1a 03 |........|........|
|000019a0| 60 70 b6 2f 2a 13 be 4b | 7e 3a 95 93 ff 97 fa 02 |`p./*..K|~:......|
|000019b0| fc 32 29 1f df 0d 43 87 | 9d 62 0f f7 eb 4d fd d5 |.2)...C.|.b...M..|
|000019c0| f8 e5 34 f3 e6 3a ee b3 | 7f 60 7e 9b ee 6d de cd |..4..:..|.`~..m..|
|000019d0| 96 e7 8e 97 6b d4 7f f2 | 1e 26 47 1b 0a 11 dd fa |....k...|.&G.....|
|000019e0| d7 ff fc 62 f5 fe 55 f7 | ff e6 f7 c3 ff 8a b7 9b |...b..U.|........|
|000019f0| f8 dd d7 b8 c8 bd 8b cc | 5d ef 66 f3 ff 7f fd ad |........|].f.....|
|00001a00| f4 b5 bb 37 77 6f a4 f3 | e7 3b a8 89 af fb dd fd |...7wo..|.;......|
|00001a10| a6 cb f4 b9 bd 2f 76 db | 74 c1 d1 76 f7 a7 36 d4 |...../v.|t..v..6.|
|00001a20| 00 00 1b e1 20 7f fe bf | be 7f ff fe 7f bb ef 9e |.... ...|........|
|00001a30| bf fb fc 8f fe fe f9 bf | ff 2e ff fb ff fb 3f ff |........|......?.|
|00001a40| f9 ff eb f9 f9 f7 af 7b | ea ef cf ff ff ff fe df |.......{|........|
|00001a50| ee ff ee fe ff ff ee f7 | fb bf ff ff ef fe df 9f |........|........|
|00001a60| fb b5 ff fe d7 ef ff 7f | f5 fe 5e f7 7f fa f7 ff |........|..^.....|
|00001a70| df fb ff ff f4 dd d7 3d | e9 ff ff ff df ff f2 f7 |.......=|........|
|00001a80| ff ff ff f7 ff 7f ff ff | f7 7f fe ff df 7a ff fb |........|.....z..|
|00001a90| bf ff ff df ae 5f 75 fb | bd 5b f3 fb 7f fb b5 75 |....._u.|.[.....u|
|00001aa0| ff ff 7f 78 00 00 1d cc | 20 71 8c 35 2e 3e de 1a |...x....| q.5.>..|
|00001ab0| 33 3f 07 9f fd 3d 79 02 | ff 3c af b7 b8 0a ec b2 |3?...=y.|.<......|
|00001ac0| d8 f2 af 6f ed fd f9 d2 | dd ed be 7a e8 6a fd e5 |...o....|...z.j..|
|00001ad0| bf b6 fb ff ee ee fc df | be fe d6 56 12 62 fa 57 |........|...V.b.W|
|00001ae0| df 1e af 5d fa 75 df ef | fa ed d8 ea f5 ff 7d d3 |...].u..|......}.|
|00001af0| 7f ae f3 6a dd bf 95 3b | 52 7d 97 3d 9c 9d 89 de |...j...;|R}.=....|
|00001b00| 5f e7 66 b7 ff ff ff 0f | fd 7f ff df b6 5f b7 6b |_.f.....|....._.k|
|00001b10| d3 35 eb 93 ea bd f9 df | a7 f3 70 7d 35 49 ff 13 |.5......|..p}5I..|
|00001b20| 0c c9 a5 a3 77 2a 3f f0 | 00 00 1f 64 20 77 6f be |....w*?.|...d wo.|
|00001b30| 2b 57 fa 68 7f 3b 97 99 | fb 7f 7b a5 ef 3e 8d fd |+W.h.;..|..{..>..|
|00001b40| d1 bf 4e af df 73 bf 7b | ee ed 7b fe ed ff fe fb |..N..s.{|..{.....|
|00001b50| 2c eb ff 7f ef 27 ff ff | e2 af fe ff de f3 ee 37 |,....'..|.......7|
|00001b60| 7f ec fb fd e7 be eb 5b | df 7f d7 f2 b6 7e de 7f |.......[|.....~..|
|00001b70| fd fa 75 d7 7f ff ff de | ff 5a 8f dd 5e dd ff fd |..u.....|.Z..^...|
|00001b80| eb ff af df fd fc f6 bf | ff ff fb 8f bd fd ff fb |........|........|
|00001b90| ef fe e5 5f e7 ff f9 b3 | df be 7d 7f a7 ed f4 fb |..._....|..}.....|
|00001ba0| bd 6d ff fb 7f ef b7 79 | 9f fe 3d fc 00 00 21 f6 |.m.....y|..=...!.|
|00001bb0| e0 01 00 00 00 00 c0 00 | 01 00 04 00 00 10 00 00 |........|........|
|00001bc0| 08 10 00 00 00 04 00 00 | 00 20 00 01 20 41 00 00 |........|. .. A..|
|00001bd0| 00 00 00 00 00 00 80 00 | 08 00 04 00 40 00 04 40 |........|....@..@|
|00001be0| 10 00 40 00 02 00 00 00 | 00 00 00 10 48 00 00 00 |..@.....|....H...|
|00001bf0| 00 00 40 00 01 00 00 00 | 00 00 00 40 00 00 00 00 |..@.....|...@....|
|00001c00| 10 00 00 00 00 00 00 08 | 00 80 00 00 00 10 80 00 |........|........|
|00001c10| 20 04 00 02 04 00 00 00 | 00 00 08 00 00 84 08 00 | .......|........|
|00001c20| 00 08 00 00 10 00 00 00 | 00 00 00 00 01 00 21 00 |........|......!.|
|00001c30| 00 00 09 ef e0 65 a4 88 | 06 14 f1 49 51 b0 64 98 |.....e..|...IQ.d.|
|00001c40| 9c f0 c9 00 5d 34 21 3e | 14 23 55 b2 91 67 26 59 |....]4!>|.#U..g&Y|
|00001c50| 6a 1b 81 ce f1 31 ce 8a | 48 36 dc e0 3e 8d 6e cf |j....1..|H6..>.n.|
|00001c60| e2 0e c4 fb 5c 7e 4c 90 | 91 60 d2 ba 62 22 02 11 |....\~L.|.`..b"..|
|00001c70| 4a 5a 58 10 c0 7d d6 e3 | 55 8e 5c 91 2f 6b a6 cb |JZX..}..|U.\./k..|
|00001c80| 90 59 90 c4 85 4d 44 29 | e0 1c 00 3e 4d e0 4a a4 |.Y...MD)|...>M.J.|
|00001c90| 84 fa e0 45 c9 39 f2 63 | 06 a6 3d 3b 5a 71 db 92 |...E.9.c|..=;Zq..|
|00001ca0| 11 5d 58 f2 0f 71 f0 11 | 91 12 04 91 44 08 05 21 |.]X..q..|....D..!|
|00001cb0| 4b 23 3c 10 00 00 00 00 | 00 00 00 00 00 00 00 00 |K#<.....|........|
|00001cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 03 c0 42 4b 47 44 | 00 00 0a 76 00 00 00 00 |....BKGD|...v....|
|00002110| 00 00 0b 43 00 00 00 00 | 00 00 00 02 00 00 19 bc |...C....|........|
|00002120| 00 00 0e e0 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 6f 6e 20 6f 70 | 65 6e 53 74 61 63 6b 0d |...on op|enStack.|
|00002140| 69 66 20 74 68 65 20 73 | 63 72 65 65 6e 52 65 63 |if the s|creenRec|
|00002150| 74 20 69 73 20 22 30 2c | 30 2c 35 31 32 2c 33 34 |t is "0,|0,512,34|
|00002160| 32 22 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |2" then |set the |
|00002170| 6c 6f 63 20 6f 66 20 63 | 64 20 77 69 6e 64 6f 77 |loc of c|d window|
|00002180| 20 74 6f 20 22 30 2c 30 | 22 0d 69 66 20 74 68 65 | to "0,0|".if the|
|00002190| 20 75 73 65 72 4c 65 76 | 65 6c 20 3c 20 35 20 74 | userLev|el < 5 t|
|000021a0| 68 65 6e 20 73 65 74 20 | 74 68 65 20 75 73 65 72 |hen set |the user|
|000021b0| 4c 65 76 65 6c 20 74 6f | 20 35 0d 69 66 20 74 68 |Level to| 5.if th|
|000021c0| 65 20 73 79 73 74 65 6d | 56 65 72 73 69 6f 6e 20 |e system|Version |
|000021d0| 3c 20 22 37 2e 30 22 20 | 74 68 65 6e 20 2d 2d 20 |< "7.0" |then -- |
|000021e0| 53 79 73 74 65 6d 73 20 | 3c 20 37 2e 30 20 64 6f |Systems |< 7.0 do|
|000021f0| 6e 27 74 20 73 75 70 70 | 6f 72 74 20 41 70 70 6c |n't supp|ort Appl|
|00002200| 65 20 45 76 65 6e 74 73 | 2e 0d 61 6e 73 77 65 72 |e Events|..answer|
|00002210| 20 22 59 6f 75 20 6d 75 | 73 74 20 62 65 20 72 75 | "You mu|st be ru|
|00002220| 6e 6e 69 6e 67 20 53 79 | 73 74 65 6d 20 37 2e 30 |nning Sy|stem 7.0|
|00002230| 20 6f 72 20 6c 61 74 65 | 72 20 74 6f 20 73 65 6e | or late|r to sen|
|00002240| 64 20 41 70 70 6c 65 20 | 45 76 65 6e 74 73 aa 22 |d Apple |Events."|
|00002250| c2 0d 26 26 22 66 72 6f | 6d 20 74 68 69 73 20 73 |..&&"fro|m this s|
|00002260| 74 61 63 6b 2e 22 0d 65 | 6e 64 20 69 66 0d 69 66 |tack.".e|nd if.if|
|00002270| 20 74 68 65 20 76 65 72 | 73 69 6f 6e 20 3c 20 22 | the ver|sion < "|
|00002280| 32 2e 31 22 20 74 68 65 | 6e 20 2d 2d 20 48 79 70 |2.1" the|n -- Hyp|
|00002290| 65 72 43 61 72 64 20 3c | 20 32 2e 31 20 64 6f 65 |erCard <| 2.1 doe|
|000022a0| 73 6e 27 74 20 73 75 70 | 70 6f 72 74 20 41 70 70 |sn't sup|port App|
|000022b0| 6c 65 20 45 76 65 6e 74 | 73 2e 0d 61 6e 73 77 65 |le Event|s..answe|
|000022c0| 72 20 22 48 79 70 65 72 | 43 61 72 64 20 76 65 72 |r "Hyper|Card ver|
|000022d0| 73 69 6f 6e 20 32 2e 31 | 20 6f 72 20 6c 61 74 65 |sion 2.1| or late|
|000022e0| 72 20 69 73 20 72 65 71 | 75 69 72 65 64 20 74 6f |r is req|uired to|
|000022f0| 20 75 73 65 20 74 68 69 | 73 20 73 74 61 63 6b 2e | use thi|s stack.|
|00002300| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6f 70 65 |".end if|.end ope|
|00002310| 6e 53 74 61 63 6b 0d 0d | 6f 6e 20 63 6c 6f 73 65 |nStack..|on close|
|00002320| 53 74 61 63 6b 0d 69 66 | 20 74 68 65 20 66 72 65 |Stack.if| the fre|
|00002330| 65 73 69 7a 65 20 6f 66 | 20 74 68 69 73 20 73 74 |esize of| this st|
|00002340| 61 63 6b 20 3e 20 33 32 | 37 36 38 20 74 68 65 6e |ack > 32|768 then|
|00002350| 0d 67 65 74 20 74 68 65 | 72 65 20 69 73 20 61 20 |.get the|re is a |
|00002360| 6d 65 6e 75 49 74 65 6d | 20 22 43 6f 6d 70 61 63 |menuItem| "Compac|
|00002370| 74 20 53 74 61 63 6b 22 | 20 6f 66 20 6d 65 6e 75 |t Stack"| of menu|
|00002380| 20 22 46 69 6c 65 22 0d | 69 66 20 69 74 20 74 68 | "File".|if it th|
|00002390| 65 6e 20 64 6f 4d 65 6e | 75 20 22 43 6f 6d 70 61 |en doMen|u "Compa|
|000023a0| 63 74 20 53 74 61 63 6b | 22 0d 65 6e 64 20 69 66 |ct Stack|".end if|
|000023b0| 0d 70 61 73 73 20 63 6c | 6f 73 65 53 74 61 63 6b |.pass cl|oseStack|
|000023c0| 0d 65 6e 64 20 63 6c 6f | 73 65 53 74 61 63 6b 0d |.end clo|seStack.|
|000023d0| 0d 6f 6e 20 72 65 73 75 | 6d 65 53 74 61 63 6b 0d |.on resu|meStack.|
|000023e0| 69 66 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |if the u|serLevel|
|000023f0| 20 3c 20 35 20 74 68 65 | 6e 20 73 65 74 20 74 68 | < 5 the|n set th|
|00002400| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 35 |e userLe|vel to 5|
|00002410| 0d 65 6e 64 20 72 65 73 | 75 6d 65 53 74 61 63 6b |.end res|umeStack|
|00002420| 0d 0d 6f 6e 20 67 6f 0d | 48 4d 52 65 6d 6f 76 65 |..on go.|HMRemove|
|00002430| 42 61 6c 6c 6f 6f 6e 20 | 2d 2d 20 52 65 6d 6f 76 |Balloon |-- Remov|
|00002440| 65 73 20 61 6e 79 20 76 | 65 73 74 69 67 61 6c 20 |es any v|estigal |
|00002450| 62 61 6c 6c 6f 6f 6e 73 | 20 77 68 69 63 68 20 6d |balloons| which m|
|00002460| 61 79 20 68 61 76 65 0d | 70 61 73 73 20 67 6f 20 |ay have.|pass go |
|00002470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002480| 20 20 20 20 20 20 20 20 | 20 2d 2d 20 6c 65 66 74 | | -- left|
|00002490| 20 66 72 6f 6d 20 74 68 | 65 20 22 53 68 6f 77 42 | from th|e "ShowB|
|000024a0| 61 6c 6c 6f 6f 6e 22 20 | 58 43 4d 44 2e 0d 65 6e |alloon" |XCMD..en|
|000024b0| 64 20 67 6f 0d 0d 00 00 | 00 00 00 00 00 00 00 00 |d go....|........|
|000024c0| 00 00 00 40 42 4d 41 50 | 00 00 0b 43 00 00 00 00 |...@BMAP|...C....|
|000024d0| 00 00 00 00 00 01 00 00 | 00 00 00 00 01 56 02 00 |........|.....V..|
|000024e0| 00 00 00 00 01 56 02 00 | 00 00 00 00 00 00 00 00 |.....V..|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002500| 00 00 09 c0 42 4b 47 44 | 00 00 19 bc 00 00 00 00 |....BKGD|........|
|00002510| 00 00 13 ed 00 00 00 00 | 00 00 00 04 00 00 0e e0 |........|........|
|00002520| 00 00 0a 76 00 08 00 0e | 00 00 06 06 00 00 00 00 |...v....|........|
|00002530| 00 00 00 26 00 01 02 05 | 00 3b 00 0a 01 1d 01 f6 |...&....|.;......|
|00002540| 00 07 00 00 00 00 00 00 | 00 15 00 0c 00 00 00 10 |........|........|
|00002550| 69 6e 66 6f 00 00 00 00 | 01 0a 00 05 01 00 01 27 |info....|.......'|
|00002560| 00 82 01 55 00 c4 a0 00 | 00 00 66 7b 00 01 00 00 |...U....|..f{....|
|00002570| 00 0c 00 00 00 10 41 62 | 6f 75 74 20 58 43 4d 44 |......Ab|out XCMD|
|00002580| 73 00 00 4f 6e 20 4d 6f | 75 73 65 57 69 74 68 69 |s..On Mo|useWithi|
|00002590| 6e 0d 53 68 6f 77 42 61 | 6c 6c 6f 6f 6e 20 22 43 |n.ShowBa|lloon "C|
|000025a0| 6c 69 63 6b 20 68 65 72 | 65 20 66 6f 72 20 69 6e |lick her|e for in|
|000025b0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|000025c0| 74 68 65 20 58 43 4d 44 | 73 2c 20 58 46 43 4e 73 |the XCMD|s, XFCNs|
|000025d0| 20 61 6e 64 20 48 79 70 | 65 72 54 61 6c 6b 20 48 | and Hyp|erTalk H|
|000025e0| 61 6e 64 6c 65 72 73 22 | 20 c2 0d 26 20 22 20 74 |andlers"| ..& " t|
|000025f0| 68 61 74 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |hat you |can use |
|00002600| 77 69 74 68 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |with App|le Event|
|00002610| 73 2e 22 0d 45 6e 64 20 | 4d 6f 75 73 65 57 69 74 |s.".End |MouseWit|
|00002620| 68 69 6e 0d 0d 6f 6e 20 | 6d 6f 75 73 65 55 70 0d |hin..on |mouseUp.|
|00002630| 76 69 73 75 61 6c 20 64 | 69 73 73 6f 6c 76 65 0d |visual d|issolve.|
|00002640| 67 6f 20 74 6f 20 63 61 | 72 64 20 69 64 20 37 31 |go to ca|rd id 71|
|00002650| 33 37 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 0d |37.end m|ouseUp..|
|00002660| 00 00 00 ee 00 08 01 00 | 01 27 01 af 01 56 01 f8 |........|.'...V..|
|00002670| a0 00 00 00 65 13 00 01 | 00 00 00 0c 00 00 00 10 |....e...|........|
|00002680| ae 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 73 00 00 |. Applic|ations..|
|00002690| 4f 6e 20 4d 6f 75 73 65 | 57 69 74 68 69 6e 0d 53 |On Mouse|Within.S|
|000026a0| 68 6f 77 42 61 6c 6c 6f | 6f 6e 20 22 43 6c 69 63 |howBallo|on "Clic|
|000026b0| 6b 20 68 65 72 65 20 74 | 6f 20 76 69 65 77 20 61 |k here t|o view a|
|000026c0| 20 6c 69 73 74 20 6f 66 | 20 61 70 70 6c 69 63 61 | list of| applica|
|000026d0| 74 69 6f 6e 73 20 77 68 | 69 63 68 20 79 6f 75 20 |tions wh|ich you |
|000026e0| 63 61 6e 22 20 c2 0d 26 | 20 22 20 73 65 6e 64 20 |can" ..&| " send |
|000026f0| 41 70 70 6c 65 20 45 76 | 65 6e 74 73 20 74 6f 2e |Apple Ev|ents to.|
|00002700| 22 0d 45 6e 64 20 4d 6f | 75 73 65 57 69 74 68 69 |".End Mo|useWithi|
|00002710| 6e 0d 0d 6f 6e 20 6d 6f | 75 73 65 55 70 0d 76 69 |n..on mo|useUp.vi|
|00002720| 73 75 61 6c 20 64 69 73 | 73 6f 6c 76 65 0d 67 6f |sual dis|solve.go|
|00002730| 20 74 6f 20 63 61 72 64 | 20 69 64 20 38 36 39 34 | to card| id 8694|
|00002740| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 0d 0d 00 00 |.end mou|seUp....|
|00002750| 00 cc 00 09 01 00 01 26 | 00 00 01 56 00 3c a0 00 |.......&|...V.<..|
|00002760| 00 00 19 af 00 01 00 00 | 00 0c 00 00 00 10 53 74 |........|......St|
|00002770| 61 63 6b 20 49 6e 66 6f | 00 00 4f 6e 20 4d 6f 75 |ack Info|..On Mou|
|00002780| 73 65 57 69 74 68 69 6e | 0d 53 68 6f 77 42 61 6c |seWithin|.ShowBal|
|00002790| 6c 6f 6f 6e 20 22 43 6c | 69 63 6b 20 68 65 72 65 |loon "Cl|ick here|
|000027a0| 20 74 6f 20 73 65 65 20 | 61 20 67 65 6e 65 72 61 | to see |a genera|
|000027b0| 6c 20 69 6e 74 72 6f 64 | 75 63 74 69 6f 6e 20 74 |l introd|uction t|
|000027c0| 6f 20 74 68 69 73 20 73 | 74 61 63 6b 2e 22 0d 45 |o this s|tack.".E|
|000027d0| 6e 64 20 4d 6f 75 73 65 | 57 69 74 68 69 6e 0d 0d |nd Mouse|Within..|
|000027e0| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 76 69 73 75 61 |on mouse|Up.visua|
|000027f0| 6c 20 64 69 73 73 6f 6c | 76 65 0d 67 6f 20 74 6f |l dissol|ve.go to|
|00002800| 20 63 61 72 64 20 69 64 | 20 36 36 35 39 0d 65 6e | card id| 6659.en|
|00002810| 64 20 6d 6f 75 73 65 55 | 70 0d 0d 00 01 08 00 0a |d mouseU|p.......|
|00002820| 01 00 01 27 00 c8 01 55 | 01 24 a0 00 00 00 35 d8 |...'...U|.$....5.|
|00002830| 00 01 00 00 00 0c 00 00 | 00 10 41 62 6f 75 74 20 |........|..About |
|00002840| 47 6c 75 65 20 52 6f 75 | 74 69 6e 65 73 00 00 4f |Glue Rou|tines..O|
|00002850| 6e 20 4d 6f 75 73 65 57 | 69 74 68 69 6e 0d 53 68 |n MouseW|ithin.Sh|
|00002860| 6f 77 42 61 6c 6c 6f 6f | 6e 20 22 43 6c 69 63 6b |owBalloo|n "Click|
|00002870| 20 68 65 72 65 20 74 6f | 20 73 65 65 20 68 6f 77 | here to| see how|
|00002880| 20 74 6f 20 75 73 65 20 | 61 70 70 6c 69 63 74 69 | to use |applicti|
|00002890| 6f 6e 20 73 70 65 63 69 | 66 69 63 20 68 61 6e 64 |on speci|fic hand|
|000028a0| 6c 65 72 73 20 74 6f 20 | 74 61 6c 6b 20 74 6f 22 |lers to |talk to"|
|000028b0| 20 c2 0d 26 20 22 41 70 | 70 6c 65 20 45 76 65 6e | ..& "Ap|ple Even|
|000028c0| 74 20 61 77 61 72 65 20 | 61 70 70 6c 69 63 61 74 |t aware |applicat|
|000028d0| 69 6f 6e 73 2e 22 0d 45 | 6e 64 20 4d 6f 75 73 65 |ions.".E|nd Mouse|
|000028e0| 57 69 74 68 69 6e 0d 0d | 6f 6e 20 6d 6f 75 73 65 |Within..|on mouse|
|000028f0| 55 70 0d 76 69 73 75 61 | 6c 20 64 69 73 73 6f 6c |Up.visua|l dissol|
|00002900| 76 65 0d 67 6f 20 74 6f | 20 63 61 72 64 20 69 64 |ve.go to| card id|
|00002910| 20 37 36 32 38 0d 65 6e | 64 20 6d 6f 75 73 65 55 | 7628.en|d mouseU|
|00002920| 70 0d 0d 00 00 22 00 0c | 02 05 00 16 00 05 00 2e |p...."..|........|
|00002930| 01 5a 00 00 00 00 00 00 | 00 00 00 15 00 18 08 00 |.Z......|........|
|00002940| 00 20 00 00 00 00 01 2a | 00 0d 01 00 01 28 00 40 |. .....*|.....(.@|
|00002950| 01 55 00 7e a0 00 00 00 | 60 76 00 01 00 00 00 0c |.U.~....|`v......|
|00002960| 00 00 00 10 49 6e 73 74 | 72 75 63 74 69 6f 6e 73 |....Inst|ructions|
|00002970| 00 00 4f 6e 20 4d 6f 75 | 73 65 57 69 74 68 69 6e |..On Mou|seWithin|
|00002980| 0d 53 68 6f 77 42 61 6c | 6c 6f 6f 6e 20 22 43 6c |.ShowBal|loon "Cl|
|00002990| 69 63 6b 20 68 65 72 65 | 20 66 6f 72 20 69 6e 66 |ick here| for inf|
|000029a0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 68 |ormation| about h|
|000029b0| 6f 77 20 74 6f 20 67 65 | 6e 65 72 69 6e 67 20 67 |ow to ge|nering g|
|000029c0| 6c 75 65 20 72 6f 75 74 | 69 6e 65 73 20 61 6e 64 |lue rout|ines and|
|000029d0| 20 68 6f 77 20 74 72 79 | 20 6f 75 74 20 74 68 65 | how try| out the|
|000029e0| 20 41 70 70 6c 65 22 20 | c2 0d 26 20 22 20 65 76 | Apple" |..& " ev|
|000029f0| 65 6e 74 73 20 73 75 70 | 70 6f 72 74 65 64 20 62 |ents sup|ported b|
|00002a00| 79 20 41 70 70 6c 65 20 | 45 76 65 6e 74 20 61 77 |y Apple |Event aw|
|00002a10| 61 72 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |are appl|ications|
|00002a20| 2e 22 0d 45 6e 64 20 4d | 6f 75 73 65 57 69 74 68 |.".End M|ouseWith|
|00002a30| 69 6e 0d 0d 6f 6e 20 6d | 6f 75 73 65 55 70 0d 76 |in..on m|ouseUp.v|
|00002a40| 69 73 75 61 6c 20 64 69 | 73 73 6f 6c 76 65 0d 67 |isual di|ssolve.g|
|00002a50| 6f 20 74 6f 20 63 61 72 | 64 20 69 64 20 38 30 33 |o to car|d id 803|
|00002a60| 36 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 0d 0d 00 |6.end mo|useUp...|
|00002a70| 00 c8 00 0e 01 00 00 24 | 01 8c 00 38 01 f3 a0 04 |.......$|...8....|
|00002a80| 00 00 00 00 00 01 00 15 | 00 0c 01 00 00 10 50 72 |........|......Pr|
|00002a90| 69 6e 74 20 74 68 69 73 | 20 46 69 65 6c 64 00 00 |int this| Field..|
|00002aa0| 4f 6e 20 4d 6f 75 73 65 | 57 69 74 68 69 6e 0d 53 |On Mouse|Within.S|
|00002ab0| 68 6f 77 42 61 6c 6c 6f | 6f 6e 20 22 43 6c 69 63 |howBallo|on "Clic|
|00002ac0| 6b 20 68 65 72 65 20 74 | 6f 20 70 72 69 6e 74 20 |k here t|o print |
|00002ad0| 74 68 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |the info|rmation |
|00002ae0| 63 6f 6e 74 61 69 6e 65 | 64 20 69 6e 20 74 68 65 |containe|d in the|
|00002af0| 20 66 69 65 6c 64 20 62 | 65 6c 6f 77 2e 22 0d 45 | field b|elow.".E|
|00002b00| 6e 64 20 4d 6f 75 73 65 | 57 69 74 68 69 6e 0d 0d |nd Mouse|Within..|
|00002b10| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 70 72 69 6e 74 |on mouse|Up.print|
|00002b20| 20 66 6c 64 20 22 69 6e | 66 6f 22 0d 65 6e 64 20 | fld "in|fo".end |
|00002b30| 6d 6f 75 73 65 55 70 00 | 00 6f 6e 20 6f 70 65 6e |mouseUp.|.on open|
|00002b40| 53 74 61 63 6b 0d 69 66 | 20 74 68 65 20 73 63 72 |Stack.if| the scr|
|00002b50| 65 65 6e 52 65 63 74 20 | 69 73 20 22 30 2c 30 2c |eenRect |is "0,0,|
|00002b60| 35 31 32 2c 33 34 32 22 | 20 74 68 65 6e 20 73 65 |512,342"| then se|
|00002b70| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 63 64 20 |t the lo|c of cd |
|00002b80| 77 69 6e 64 6f 77 20 74 | 6f 20 22 30 2c 30 22 0d |window t|o "0,0".|
|00002b90| 69 66 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |if the u|serLevel|
|00002ba0| 20 3c 20 35 20 74 68 65 | 6e 20 73 65 74 20 74 68 | < 5 the|n set th|
|00002bb0| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 35 |e userLe|vel to 5|
|00002bc0| 0d 69 66 20 74 68 65 20 | 73 79 73 74 65 6d 56 65 |.if the |systemVe|
|00002bd0| 72 73 69 6f 6e 20 3c 20 | 22 37 2e 30 22 20 74 68 |rsion < |"7.0" th|
|00002be0| 65 6e 20 2d 2d 20 53 79 | 73 74 65 6d 73 20 3c 20 |en -- Sy|stems < |
|00002bf0| 37 2e 30 20 64 6f 6e 27 | 74 20 73 75 70 70 6f 72 |7.0 don'|t suppor|
|00002c00| 74 20 41 70 70 6c 65 20 | 45 76 65 6e 74 73 2e 0d |t Apple |Events..|
|00002c10| 61 6e 73 77 65 72 20 22 | 59 6f 75 20 6d 75 73 74 |answer "|You must|
|00002c20| 20 62 65 20 72 75 6e 6e | 69 6e 67 20 53 79 73 74 | be runn|ing Syst|
|00002c30| 65 6d 20 37 2e 30 20 6f | 72 20 6c 61 74 65 72 20 |em 7.0 o|r later |
|00002c40| 74 6f 20 73 65 6e 64 20 | 41 70 70 6c 65 20 45 76 |to send |Apple Ev|
|00002c50| 65 6e 74 73 aa 22 c2 0d | 26 26 22 66 72 6f 6d 20 |ents."..|&&"from |
|00002c60| 74 68 69 73 20 73 74 61 | 63 6b 2e 22 0d 65 6e 64 |this sta|ck.".end|
|00002c70| 20 69 66 0d 69 66 20 74 | 68 65 20 76 65 72 73 69 | if.if t|he versi|
|00002c80| 6f 6e 20 3c 20 22 32 2e | 31 22 20 74 68 65 6e 20 |on < "2.|1" then |
|00002c90| 2d 2d 20 48 79 70 65 72 | 43 61 72 64 20 3c 20 32 |-- Hyper|Card < 2|
|00002ca0| 2e 31 20 64 6f 65 73 6e | 27 74 20 73 75 70 70 6f |.1 doesn|'t suppo|
|00002cb0| 72 74 20 41 70 70 6c 65 | 20 45 76 65 6e 74 73 2e |rt Apple| Events.|
|00002cc0| 0d 61 6e 73 77 65 72 20 | 22 48 79 70 65 72 43 61 |.answer |"HyperCa|
|00002cd0| 72 64 20 76 65 72 73 69 | 6f 6e 20 32 2e 31 20 6f |rd versi|on 2.1 o|
|00002ce0| 72 20 6c 61 74 65 72 20 | 69 73 20 72 65 71 75 69 |r later |is requi|
|00002cf0| 72 65 64 20 74 6f 20 75 | 73 65 20 74 68 69 73 20 |red to u|se this |
|00002d00| 73 74 61 63 6b 2e 22 0d | 65 6e 64 20 69 66 0d 65 |stack.".|end if.e|
|00002d10| 6e 64 20 6f 70 65 6e 53 | 74 61 63 6b 0d 0d 6f 6e |nd openS|tack..on|
|00002d20| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 69 66 20 74 | closeSt|ack.if t|
|00002d30| 68 65 20 66 72 65 65 73 | 69 7a 65 20 6f 66 20 74 |he frees|ize of t|
|00002d40| 68 69 73 20 73 74 61 63 | 6b 20 3e 20 33 32 37 36 |his stac|k > 3276|
|00002d50| 38 20 74 68 65 6e 0d 67 | 65 74 20 74 68 65 72 65 |8 then.g|et there|
|00002d60| 20 69 73 20 61 20 6d 65 | 6e 75 49 74 65 6d 20 22 | is a me|nuItem "|
|00002d70| 43 6f 6d 70 61 63 74 20 | 53 74 61 63 6b 22 20 6f |Compact |Stack" o|
|00002d80| 66 20 6d 65 6e 75 20 22 | 46 69 6c 65 22 0d 69 66 |f menu "|File".if|
|00002d90| 20 69 74 20 74 68 65 6e | 20 64 6f 4d 65 6e 75 20 | it then| doMenu |
|00002da0| 22 43 6f 6d 70 61 63 74 | 20 53 74 61 63 6b 22 0d |"Compact| Stack".|
|00002db0| 65 6e 64 20 69 66 0d 70 | 61 73 73 20 63 6c 6f 73 |end if.p|ass clos|
|00002dc0| 65 53 74 61 63 6b 0d 65 | 6e 64 20 63 6c 6f 73 65 |eStack.e|nd close|
|00002dd0| 53 74 61 63 6b 0d 0d 6f | 6e 20 72 65 73 75 6d 65 |Stack..o|n resume|
|00002de0| 53 74 61 63 6b 0d 69 66 | 20 74 68 65 20 75 73 65 |Stack.if| the use|
|00002df0| 72 4c 65 76 65 6c 20 3c | 20 35 20 74 68 65 6e 20 |rLevel <| 5 then |
|00002e00| 73 65 74 20 74 68 65 20 | 75 73 65 72 4c 65 76 65 |set the |userLeve|
|00002e10| 6c 20 74 6f 20 35 0d 65 | 6e 64 20 72 65 73 75 6d |l to 5.e|nd resum|
|00002e20| 65 53 74 61 63 6b 0d 0d | 6f 6e 20 67 6f 0d 48 4d |eStack..|on go.HM|
|00002e30| 52 65 6d 6f 76 65 42 61 | 6c 6c 6f 6f 6e 20 2d 2d |RemoveBa|lloon --|
|00002e40| 20 52 65 6d 6f 76 65 73 | 20 61 6e 79 20 76 65 73 | Removes| any ves|
|00002e50| 74 69 67 61 6c 20 62 61 | 6c 6c 6f 6f 6e 73 20 77 |tigal ba|lloons w|
|00002e60| 68 69 63 68 20 6d 61 79 | 20 68 61 76 65 0d 70 61 |hich may| have.pa|
|00002e70| 73 73 20 67 6f 20 20 20 | 20 20 20 20 20 20 20 20 |ss go | |
|00002e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|00002e90| 2d 20 6c 65 66 74 20 66 | 72 6f 6d 20 74 68 65 20 |- left f|rom the |
|00002ea0| 22 53 68 6f 77 42 61 6c | 6c 6f 6f 6e 22 20 58 43 |"ShowBal|loon" XC|
|00002eb0| 4d 44 2e 0d 65 6e 64 20 | 67 6f 0d 0d 00 00 00 00 |MD..end |go......|
|00002ec0| 00 00 00 a0 42 4d 41 50 | 00 00 13 ed 00 00 00 00 |....BMAP|........|
|00002ed0| 00 00 00 00 00 01 00 00 | 00 00 00 00 01 56 02 00 |........|.....V..|
|00002ee0| 00 00 00 00 01 56 02 00 | 00 17 00 00 01 1f 01 f8 |.....V..|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 50 |........|.......P|
|00002f00| 8c 10 80 e2 11 80 e1 0d | a2 85 8a e2 12 80 e1 0d |........|........|
|00002f10| e2 12 c0 e1 0d b6 86 8e | 10 40 e2 11 40 e1 0d 8d |........|.@..@...|
|00002f20| 10 80 e2 11 20 e1 0d ab | 81 89 e3 2e 02 00 e3 2e |.... ...|........|
|00002f30| 01 00 bf 86 bf 86 bf 86 | bf 86 bf 86 bf 86 bf 86 |........|........|
|00002f40| a3 86 8e 12 20 e3 2b 02 | 00 8d 12 40 e3 1c 80 00 |.... .+.|...@....|
|00002f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f60| 00 00 e4 80 42 4b 47 44 | 00 00 0e e0 00 00 00 00 |....BKGD|........|
|00002f70| 00 00 1c 88 40 00 00 00 | 00 00 00 01 00 00 0a 76 |....@...|.......v|
|00002f80| 00 00 19 bc 00 16 00 18 | 00 00 9f c6 00 00 00 00 |........|........|
|00002f90| 00 00 5e 62 00 01 01 00 | 00 17 01 4a 00 2a 01 96 |..^b....|...J.*..|
|00002fa0| a0 04 00 00 00 00 00 01 | 00 15 00 0a 01 00 00 0d |........|........|
|00002fb0| 52 65 61 64 20 61 65 74 | 65 00 00 4f 6e 20 4d 6f |Read aet|e..On Mo|
|00002fc0| 75 73 65 57 69 74 68 69 | 6e 0d 53 68 6f 77 42 61 |useWithi|n.ShowBa|
|00002fd0| 6c 6c 6f 6f 6e 20 22 43 | 6c 69 63 6b 20 68 65 72 |lloon "C|lick her|
|00002fe0| 65 20 74 6f 20 72 65 61 | 64 20 74 68 65 20 61 65 |e to rea|d the ae|
|00002ff0| 74 65 20 72 65 73 6f 75 | 72 63 65 20 6f 66 20 61 |te resou|rce of a|
|00003000| 6e 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 74 6f |n applic|ation to|
|00003010| 20 67 65 6e 65 72 61 74 | 65 20 67 6c 75 65 20 72 | generat|e glue r|
|00003020| 6f 75 74 69 6e 65 73 20 | 66 6f 72 20 69 74 2e 22 |outines |for it."|
|00003030| 0d 45 6e 64 20 4d 6f 75 | 73 65 57 69 74 68 69 6e |.End Mou|seWithin|
|00003040| 0d 0d 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 70 75 74 |..on mou|seUp.put|
|00003050| 20 4d 65 72 67 65 41 65 | 74 65 28 29 20 69 6e 74 | MergeAe|te() int|
|00003060| 6f 20 61 65 74 65 0d 69 | 66 20 61 65 74 65 20 69 |o aete.i|f aete i|
|00003070| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 61 6e 73 |s empty |then.ans|
|00003080| 77 65 72 20 22 55 6e 61 | 62 6c 65 20 74 6f 20 72 |wer "Una|ble to r|
|00003090| 65 61 64 20 74 68 65 20 | 61 65 74 65 22 20 77 69 |ead the |aete" wi|
|000030a0| 74 68 20 22 43 61 6e 63 | 65 6c 22 0d 65 6c 73 65 |th "Canc|el".else|
|000030b0| 0d 41 45 53 74 6f 70 54 | 61 72 67 65 74 69 6e 67 |.AEStopT|argeting|
|000030c0| 0d 70 75 74 20 6c 69 6e | 65 20 31 20 6f 66 20 61 |.put lin|e 1 of a|
|000030d0| 65 74 65 20 69 6e 74 6f | 20 66 69 65 6c 64 20 74 |ete into| field t|
|000030e0| 61 72 67 65 74 41 70 70 | 0d 41 45 53 74 61 72 74 |argetApp|.AEStart|
|000030f0| 54 61 72 67 65 74 69 6e | 67 20 6c 69 6e 65 20 31 |Targetin|g line 1|
|00003100| 20 6f 66 20 61 65 74 65 | 2c 22 4e 6f 4c 61 75 6e | of aete|,"NoLaun|
|00003110| 63 68 22 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ch".set |cursor t|
|00003120| 6f 20 77 61 74 63 68 0d | 70 75 74 20 22 22 20 69 |o watch.|put "" i|
|00003130| 6e 74 6f 20 73 61 6d 70 | 6c 65 43 6f 64 65 0d 70 |nto samp|leCode.p|
|00003140| 75 74 20 22 22 20 69 6e | 74 6f 20 66 69 65 6c 64 |ut "" in|to field|
|00003150| 20 22 65 76 65 6e 74 4c | 69 73 74 22 0d 70 75 74 | "eventL|ist".put|
|00003160| 20 22 22 20 69 6e 74 6f | 20 66 69 65 6c 64 20 22 | "" into| field "|
|00003170| 6d 79 4d 73 67 42 6f 78 | 22 0d 70 75 74 20 22 22 |myMsgBox|".put ""|
|00003180| 20 69 6e 74 6f 20 65 6c | 65 6d 65 6e 74 4c 69 73 | into el|ementLis|
|00003190| 74 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 65 6e |t.put ""| into en|
|000031a0| 75 6d 49 6e 66 6f 0d 70 | 75 74 20 22 22 20 69 6e |umInfo.p|ut "" in|
|000031b0| 74 6f 20 63 6c 61 73 73 | 4e 61 6d 65 4c 69 73 74 |to class|NameList|
|000031c0| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 6b 65 79 |.put "" |into key|
|000031d0| 46 6f 72 6d 4c 69 73 74 | 0d 70 75 74 20 22 22 20 |FormList|.put "" |
|000031e0| 69 6e 74 6f 20 68 69 65 | 72 61 72 63 68 79 4c 69 |into hie|rarchyLi|
|000031f0| 73 74 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 63 |st.put "|" into c|
|00003200| 6f 6d 70 61 72 65 4c 69 | 73 74 0d 70 75 74 20 6c |ompareLi|st.put l|
|00003210| 69 6e 65 20 38 20 6f 66 | 20 61 65 74 65 20 69 6e |ine 8 of| aete in|
|00003220| 74 6f 20 73 75 69 74 65 | 43 6f 75 6e 74 0d 70 75 |to suite|Count.pu|
|00003230| 74 20 38 20 69 6e 74 6f | 20 6c 69 6e 65 73 52 65 |t 8 into| linesRe|
|00003240| 61 64 0d 72 65 70 65 61 | 74 20 73 75 69 74 65 43 |ad.repea|t suiteC|
|00003250| 6f 75 6e 74 20 74 69 6d | 65 73 0d 73 65 74 20 63 |ount tim|es.set c|
|00003260| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 70 75 |ursor to| busy.pu|
|00003270| 74 20 6c 69 6e 65 20 6c | 69 6e 65 73 52 65 61 64 |t line l|inesRead|
|00003280| 2b 36 20 6f 66 20 61 65 | 74 65 20 69 6e 74 6f 20 |+6 of ae|te into |
|00003290| 65 76 65 6e 74 43 6f 75 | 6e 74 0d 61 64 64 20 36 |eventCou|nt.add 6|
|000032a0| 20 74 6f 20 6c 69 6e 65 | 73 52 65 61 64 0d 72 65 | to line|sRead.re|
|000032b0| 70 65 61 74 20 65 76 65 | 6e 74 43 6f 75 6e 74 20 |peat eve|ntCount |
|000032c0| 74 69 6d 65 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |times.se|t cursor|
|000032d0| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 6c 69 6e | to busy|.put lin|
|000032e0| 65 20 6c 69 6e 65 73 52 | 65 61 64 2b 31 31 20 6f |e linesR|ead+11 o|
|000032f0| 66 20 61 65 74 65 20 69 | 6e 74 6f 20 70 61 72 61 |f aete i|nto para|
|00003300| 6d 43 6f 75 6e 74 0d 61 | 64 64 20 70 61 72 61 6d |mCount.a|dd param|
|00003310| 43 6f 75 6e 74 2a 35 2b | 31 31 20 74 6f 20 6c 69 |Count*5+|11 to li|
|00003320| 6e 65 73 52 65 61 64 20 | 2d 2d 20 73 6b 69 70 20 |nesRead |-- skip |
|00003330| 65 78 74 72 61 20 70 61 | 72 61 6d 0d 65 6e 64 20 |extra pa|ram.end |
|00003340| 72 65 70 65 61 74 20 2d | 2d 20 66 6f 72 20 65 76 |repeat -|- for ev|
|00003350| 65 72 79 20 65 76 65 6e | 74 0d 70 75 74 20 6c 69 |ery even|t.put li|
|00003360| 6e 65 20 6c 69 6e 65 73 | 52 65 61 64 2b 31 20 6f |ne lines|Read+1 o|
|00003370| 66 20 61 65 74 65 20 69 | 6e 74 6f 20 63 6c 61 73 |f aete i|nto clas|
|00003380| 73 43 6f 75 6e 74 0d 61 | 64 64 20 31 20 74 6f 20 |sCount.a|dd 1 to |
|00003390| 6c 69 6e 65 73 52 65 61 | 64 0d 72 65 70 65 61 74 |linesRea|d.repeat|
|000033a0| 20 77 69 74 68 20 63 6c | 61 73 73 49 6e 64 65 78 | with cl|assIndex|
|000033b0| 20 3d 20 31 20 74 6f 20 | 63 6c 61 73 73 43 6f 75 | = 1 to |classCou|
|000033c0| 6e 74 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |nt.set c|ursor to|
|000033d0| 20 62 75 73 79 0d 70 75 | 74 20 28 6c 69 6e 65 20 | busy.pu|t (line |
|000033e0| 6c 69 6e 65 73 52 65 61 | 64 2b 32 20 6f 66 20 61 |linesRea|d+2 of a|
|000033f0| 65 74 65 29 20 26 20 22 | 2c 22 20 26 20 53 74 72 |ete) & "|," & Str|
|00003400| 69 70 53 70 28 6c 69 6e | 65 20 6c 69 6e 65 73 52 |ipSp(lin|e linesR|
|00003410| 65 61 64 2b 31 20 6f 66 | 20 61 65 74 65 29 20 61 |ead+1 of| aete) a|
|00003420| 66 74 65 72 20 63 6c 61 | 73 73 4e 61 6d 65 4c 69 |fter cla|ssNameLi|
|00003430| 73 74 0d 70 75 74 20 28 | 6c 69 6e 65 20 6c 69 6e |st.put (|line lin|
|00003440| 65 73 52 65 61 64 2b 32 | 20 6f 66 20 61 65 74 65 |esRead+2| of aete|
|00003450| 29 20 61 66 74 65 72 20 | 68 69 65 72 61 72 63 68 |) after |hierarch|
|00003460| 79 4c 69 73 74 0d 70 75 | 74 20 6c 69 6e 65 20 6c |yList.pu|t line l|
|00003470| 69 6e 65 73 52 65 61 64 | 2b 34 20 6f 66 20 61 65 |inesRead|+4 of ae|
|00003480| 74 65 20 69 6e 74 6f 20 | 70 72 6f 70 43 6f 75 6e |te into |propCoun|
|00003490| 74 0d 2d 2d 61 64 64 20 | 70 72 6f 70 43 6f 75 6e |t.--add |propCoun|
|000034a0| 74 20 2a 20 35 20 2b 20 | 35 20 74 6f 20 6c 69 6e |t * 5 + |5 to lin|
|000034b0| 65 73 52 65 61 64 20 2d | 2d 20 73 6b 69 70 20 70 |esRead -|- skip p|
|000034c0| 72 6f 70 0d 61 64 64 20 | 35 20 74 6f 20 6c 69 6e |rop.add |5 to lin|
|000034d0| 65 73 52 65 61 64 0d 72 | 65 70 65 61 74 20 77 69 |esRead.r|epeat wi|
|000034e0| 74 68 20 70 72 6f 70 49 | 6e 64 65 78 20 3d 20 31 |th propI|ndex = 1|
|000034f0| 20 74 6f 20 70 72 6f 70 | 43 6f 75 6e 74 0d 73 65 | to prop|Count.se|
|00003500| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00003510| 0d 70 75 74 20 22 2c 22 | 20 26 20 28 6c 69 6e 65 |.put ","| & (line|
|00003520| 20 6c 69 6e 65 73 52 65 | 61 64 20 6f 66 20 61 65 | linesRe|ad of ae|
|00003530| 74 65 29 20 26 20 22 2c | 22 20 26 20 28 6c 69 6e |te) & ",|" & (lin|
|00003540| 65 20 6c 69 6e 65 73 52 | 65 61 64 2b 31 20 6f 66 |e linesR|ead+1 of|
|00003550| 20 61 65 74 65 29 20 61 | 66 74 65 72 20 63 6c 61 | aete) a|fter cla|
|00003560| 73 73 4e 61 6d 65 4c 69 | 73 74 0d 61 64 64 20 35 |ssNameLi|st.add 5|
|00003570| 20 74 6f 20 6c 69 6e 65 | 73 52 65 61 64 0d 65 6e | to line|sRead.en|
|00003580| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 72 65 74 |d repeat|.put ret|
|00003590| 75 72 6e 20 61 66 74 65 | 72 20 63 6c 61 73 73 4e |urn afte|r classN|
|000035a0| 61 6d 65 4c 69 73 74 0d | 70 75 74 20 6c 69 6e 65 |ameList.|put line|
|000035b0| 20 6c 69 6e 65 73 52 65 | 61 64 20 6f 66 20 61 65 | linesRe|ad of ae|
|000035c0| 74 65 20 69 6e 74 6f 20 | 65 6c 65 6d 43 6f 75 6e |te into |elemCoun|
|000035d0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 65 6c |t.repeat| with el|
|000035e0| 65 6d 49 6e 64 65 78 20 | 3d 20 31 20 74 6f 20 65 |emIndex |= 1 to e|
|000035f0| 6c 65 6d 43 6f 75 6e 74 | 0d 73 65 74 20 63 75 72 |lemCount|.set cur|
|00003600| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 75 74 20 |sor to b|usy.put |
|00003610| 6c 69 6e 65 20 6c 69 6e | 65 73 52 65 61 64 2b 31 |line lin|esRead+1|
|00003620| 20 6f 66 20 61 65 74 65 | 20 69 6e 74 6f 20 65 6c | of aete| into el|
|00003630| 65 6d 65 6e 74 43 6c 61 | 73 73 0d 70 75 74 20 22 |ementCla|ss.put "|
|00003640| 2c 22 20 26 20 65 6c 65 | 6d 65 6e 74 43 6c 61 73 |," & ele|mentClas|
|00003650| 73 20 61 66 74 65 72 20 | 68 69 65 72 61 72 63 68 |s after |hierarch|
|00003660| 79 4c 69 73 74 0d 70 75 | 74 20 6c 69 6e 65 20 6c |yList.pu|t line l|
|00003670| 69 6e 65 73 52 65 61 64 | 2b 32 20 6f 66 20 61 65 |inesRead|+2 of ae|
|00003680| 74 65 20 69 6e 74 6f 20 | 6b 65 79 46 6f 72 6d 43 |te into |keyFormC|
|00003690| 6f 75 6e 74 0d 61 64 64 | 20 32 20 74 6f 20 6c 69 |ount.add| 2 to li|
|000036a0| 6e 65 73 52 65 61 64 0d | 70 75 74 20 6e 75 6d 62 |nesRead.|put numb|
|000036b0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 65 |er of li|nes in e|
|000036c0| 6c 65 6d 65 6e 74 4c 69 | 73 74 20 69 6e 74 6f 20 |lementLi|st into |
|000036d0| 6a 43 6f 75 6e 74 0d 70 | 75 74 20 30 20 69 6e 74 |jCount.p|ut 0 int|
|000036e0| 6f 20 74 68 69 73 45 6c | 65 6d 65 6e 74 49 6e 64 |o thisEl|ementInd|
|000036f0| 65 78 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6a |ex.repea|t with j|
|00003700| 20 3d 20 31 20 74 6f 20 | 6a 43 6f 75 6e 74 0d 73 | = 1 to |jCount.s|
|00003710| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00003720| 79 0d 69 66 20 65 6c 65 | 6d 65 6e 74 43 6c 61 73 |y.if ele|mentClas|
|00003730| 73 20 3d 20 69 74 65 6d | 20 31 20 6f 66 20 6c 69 |s = item| 1 of li|
|00003740| 6e 65 20 6a 20 6f 66 20 | 65 6c 65 6d 65 6e 74 4c |ne j of |elementL|
|00003750| 69 73 74 20 74 68 65 6e | 0d 70 75 74 20 6a 20 69 |ist then|.put j i|
|00003760| 6e 74 6f 20 74 68 69 73 | 45 6c 65 6d 65 6e 74 49 |nto this|ElementI|
|00003770| 6e 64 65 78 0d 65 78 69 | 74 20 72 65 70 65 61 74 |ndex.exi|t repeat|
|00003780| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00003790| 61 74 0d 69 66 20 74 68 | 69 73 45 6c 65 6d 65 6e |at.if th|isElemen|
|000037a0| 74 49 6e 64 65 78 20 3d | 20 30 20 74 68 65 6e 20 |tIndex =| 0 then |
|000037b0| 2d 2d 20 61 64 64 20 61 | 6e 20 6e 65 77 20 69 74 |-- add a|n new it|
|000037c0| 65 6d 0d 70 75 74 20 65 | 6c 65 6d 65 6e 74 43 6c |em.put e|lementCl|
|000037d0| 61 73 73 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |ass & re|turn aft|
|000037e0| 65 72 20 65 6c 65 6d 65 | 6e 74 4c 69 73 74 0d 70 |er eleme|ntList.p|
|000037f0| 75 74 20 6a 43 6f 75 6e | 74 2b 31 20 69 6e 74 6f |ut jCoun|t+1 into|
|00003800| 20 74 68 69 73 45 6c 65 | 6d 65 6e 74 49 6e 64 65 | thisEle|mentInde|
|00003810| 78 0d 65 6e 64 20 69 66 | 0d 72 65 70 65 61 74 20 |x.end if|.repeat |
|00003820| 77 69 74 68 20 6b 65 79 | 46 6f 72 6d 49 6e 64 65 |with key|FormInde|
|00003830| 78 20 3d 20 31 20 74 6f | 20 6b 65 79 46 6f 72 6d |x = 1 to| keyForm|
|00003840| 43 6f 75 6e 74 0d 73 65 | 74 20 63 75 72 73 6f 72 |Count.se|t cursor|
|00003850| 20 74 6f 20 62 75 73 79 | 0d 61 64 64 20 31 20 74 | to busy|.add 1 t|
|00003860| 6f 20 6c 69 6e 65 73 52 | 65 61 64 0d 70 75 74 20 |o linesR|ead.put |
|00003870| 52 65 73 54 79 70 65 28 | 6c 69 6e 65 20 6c 69 6e |ResType(|line lin|
|00003880| 65 73 52 65 61 64 20 6f | 66 20 61 65 74 65 29 20 |esRead o|f aete) |
|00003890| 69 6e 74 6f 20 74 68 69 | 73 4b 65 79 46 6f 72 6d |into thi|sKeyForm|
|000038a0| 0d 70 75 74 20 74 68 69 | 73 4b 65 79 46 6f 72 6d |.put thi|sKeyForm|
|000038b0| 20 61 66 74 65 72 20 68 | 69 65 72 61 72 63 68 79 | after h|ierarchy|
|000038c0| 4c 69 73 74 0d 69 66 20 | 6f 66 66 73 65 74 28 22 |List.if |offset("|
|000038d0| 2c 22 20 26 20 74 68 69 | 73 4b 65 79 46 6f 72 6d |," & thi|sKeyForm|
|000038e0| 2c 20 6c 69 6e 65 20 74 | 68 69 73 45 6c 65 6d 65 |, line t|hisEleme|
|000038f0| 6e 74 49 6e 64 65 78 20 | 6f 66 20 65 6c 65 6d 65 |ntIndex |of eleme|
|00003900| 6e 74 4c 69 73 74 29 20 | 3d 20 30 20 74 68 65 6e |ntList) |= 0 then|
|00003910| 0d 70 75 74 20 22 2c 22 | 20 26 20 74 68 69 73 4b |.put ","| & thisK|
|00003920| 65 79 46 6f 72 6d 20 61 | 66 74 65 72 20 6c 69 6e |eyForm a|fter lin|
|00003930| 65 20 74 68 69 73 45 6c | 65 6d 65 6e 74 49 6e 64 |e thisEl|ementInd|
|00003940| 65 78 20 6f 66 20 65 6c | 65 6d 65 6e 74 4c 69 73 |ex of el|ementLis|
|00003950| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |t.end if|.end rep|
|00003960| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 20 2d |eat.end |repeat -|
|00003970| 2d 20 66 6f 72 20 65 76 | 65 72 79 20 65 6c 65 6d |- for ev|ery elem|
|00003980| 65 6e 74 0d 70 75 74 20 | 72 65 74 75 72 6e 20 61 |ent.put |return a|
|00003990| 66 74 65 72 20 68 69 65 | 72 61 72 63 68 79 4c 69 |fter hie|rarchyLi|
|000039a0| 73 74 0d 65 6e 64 20 72 | 65 70 65 61 74 20 2d 2d |st.end r|epeat --|
|000039b0| 20 66 6f 72 20 65 76 65 | 72 79 20 63 6c 61 73 73 | for eve|ry class|
|000039c0| 0d 61 64 64 20 31 20 74 | 6f 20 6c 69 6e 65 73 52 |.add 1 t|o linesR|
|000039d0| 65 61 64 0d 70 75 74 20 | 6c 69 6e 65 20 6c 69 6e |ead.put |line lin|
|000039e0| 65 73 52 65 61 64 20 6f | 66 20 61 65 74 65 20 69 |esRead o|f aete i|
|000039f0| 6e 74 6f 20 63 6f 6d 70 | 61 72 65 43 6f 75 6e 74 |nto comp|areCount|
|00003a00| 0d 61 64 64 20 31 20 74 | 6f 20 6c 69 6e 65 73 52 |.add 1 t|o linesR|
|00003a10| 65 61 64 0d 72 65 70 65 | 61 74 20 63 6f 6d 70 61 |ead.repe|at compa|
|00003a20| 72 65 43 6f 75 6e 74 20 | 74 69 6d 65 73 0d 73 65 |reCount |times.se|
|00003a30| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00003a40| 0d 70 75 74 20 52 65 73 | 54 79 70 65 28 6c 69 6e |.put Res|Type(lin|
|00003a50| 65 20 6c 69 6e 65 73 52 | 65 61 64 2b 31 20 6f 66 |e linesR|ead+1 of|
|00003a60| 20 61 65 74 65 29 20 26 | 20 22 2c 22 20 61 66 74 | aete) &| "," aft|
|00003a70| 65 72 20 63 6f 6d 70 61 | 72 65 4c 69 73 74 0d 70 |er compa|reList.p|
|00003a80| 75 74 20 53 74 72 69 70 | 53 50 28 6c 69 6e 65 20 |ut Strip|SP(line |
|00003a90| 6c 69 6e 65 73 52 65 61 | 64 2b 32 20 6f 66 20 61 |linesRea|d+2 of a|
|00003aa0| 65 74 65 29 20 26 20 22 | 54 65 73 74 22 20 69 6e |ete) & "|Test" in|
|00003ab0| 74 6f 20 74 68 69 73 4e | 61 6d 65 0d 70 75 74 20 |to thisN|ame.put |
|00003ac0| 22 46 75 6e 63 74 69 6f | 6e 20 22 20 26 20 74 68 |"Functio|n " & th|
|00003ad0| 69 73 4e 61 6d 65 20 26 | 20 22 20 4f 62 6a 31 2c |isName &| " Obj1,|
|00003ae0| 20 6f 62 6a 32 22 20 26 | 20 72 65 74 75 72 6e 20 | obj2" &| return |
|00003af0| 61 66 74 65 72 20 73 61 | 6d 70 6c 65 43 6f 64 65 |after sa|mpleCode|
|00003b00| 0d 70 75 74 20 22 20 20 | 72 65 74 75 72 6e 20 41 |.put " |return A|
|00003b10| 45 43 6f 6d 70 61 72 65 | 53 70 65 63 28 22 20 26 |ECompare|Spec(" &|
|00003b20| 20 71 75 6f 74 65 20 26 | 20 6c 69 6e 65 20 6c 69 | quote &| line li|
|00003b30| 6e 65 73 52 65 61 64 2b | 31 20 6f 66 20 61 65 74 |nesRead+|1 of aet|
|00003b40| 65 20 c2 0d 26 20 71 75 | 6f 74 65 20 26 20 22 2c |e ..& qu|ote & ",|
|00003b50| 20 6f 62 6a 31 2c 20 6f | 62 6a 32 29 22 20 26 20 | obj1, o|bj2)" & |
|00003b60| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 73 61 6d |return a|fter sam|
|00003b70| 70 6c 65 43 6f 64 65 0d | 70 75 74 20 22 45 6e 64 |pleCode.|put "End|
|00003b80| 20 22 20 26 20 74 68 69 | 73 4e 61 6d 65 20 26 20 | " & thi|sName & |
|00003b90| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|00003ba0| 61 66 74 65 72 20 73 61 | 6d 70 6c 65 43 6f 64 65 |after sa|mpleCode|
|00003bb0| 0d 61 64 64 20 33 20 74 | 6f 20 6c 69 6e 65 73 52 |.add 3 t|o linesR|
|00003bc0| 65 61 64 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |ead.end |repeat.p|
|00003bd0| 75 74 20 6c 69 6e 65 20 | 6c 69 6e 65 73 52 65 61 |ut line |linesRea|
|00003be0| 64 20 6f 66 20 61 65 74 | 65 20 69 6e 74 6f 20 65 |d of aet|e into e|
|00003bf0| 6e 75 6d 65 72 61 74 69 | 6f 6e 43 6f 75 6e 74 0d |numerati|onCount.|
|00003c00| 72 65 70 65 61 74 20 65 | 6e 75 6d 65 72 61 74 69 |repeat e|numerati|
|00003c10| 6f 6e 43 6f 75 6e 74 20 | 74 69 6d 65 73 0d 73 65 |onCount |times.se|
|00003c20| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00003c30| 0d 70 75 74 20 6c 69 6e | 65 20 6c 69 6e 65 73 52 |.put lin|e linesR|
|00003c40| 65 61 64 2b 31 20 6f 66 | 20 61 65 74 65 20 69 6e |ead+1 of| aete in|
|00003c50| 74 6f 20 78 0d 70 75 74 | 20 28 78 20 3d 20 22 6b |to x.put| (x = "k|
|00003c60| 66 72 6d 22 29 20 69 6e | 74 6f 20 66 6f 72 4b 65 |frm") in|to forKe|
|00003c70| 79 46 6f 72 6d 0d 70 75 | 74 20 6c 69 6e 65 20 6c |yForm.pu|t line l|
|00003c80| 69 6e 65 73 52 65 61 64 | 2b 32 20 6f 66 20 61 65 |inesRead|+2 of ae|
|00003c90| 74 65 20 69 6e 74 6f 20 | 65 6e 75 6d 65 72 61 74 |te into |enumerat|
|00003ca0| 6f 72 43 6f 75 6e 74 0d | 61 64 64 20 32 20 74 6f |orCount.|add 2 to|
|00003cb0| 20 6c 69 6e 65 73 52 65 | 61 64 0d 72 65 70 65 61 | linesRe|ad.repea|
|00003cc0| 74 20 77 69 74 68 20 65 | 6e 75 6d 65 72 61 74 6f |t with e|numerato|
|00003cd0| 72 49 6e 64 65 78 20 3d | 20 31 20 74 6f 20 65 6e |rIndex =| 1 to en|
|00003ce0| 75 6d 65 72 61 74 6f 72 | 43 6f 75 6e 74 0d 73 65 |umerator|Count.se|
|00003cf0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00003d00| 0d 70 75 74 20 22 2c 22 | 20 26 20 28 6c 69 6e 65 |.put ","| & (line|
|00003d10| 20 6c 69 6e 65 73 52 65 | 61 64 2b 31 20 6f 66 20 | linesRe|ad+1 of |
|00003d20| 61 65 74 65 29 20 26 20 | 22 2c 22 20 26 20 28 6c |aete) & |"," & (l|
|00003d30| 69 6e 65 20 6c 69 6e 65 | 73 52 65 61 64 2b 32 20 |ine line|sRead+2 |
|00003d40| 6f 66 20 61 65 74 65 29 | 20 61 66 74 65 72 20 78 |of aete)| after x|
|00003d50| 0d 61 64 64 20 33 20 74 | 6f 20 6c 69 6e 65 73 52 |.add 3 t|o linesR|
|00003d60| 65 61 64 0d 65 6e 64 20 | 72 65 70 65 61 74 20 2d |ead.end |repeat -|
|00003d70| 2d 20 66 6f 72 20 65 76 | 65 72 79 20 65 6e 75 6d |- for ev|ery enum|
|00003d80| 65 72 61 74 6f 72 73 0d | 70 75 74 20 78 20 26 20 |erators.|put x & |
|00003d90| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 65 6e 75 |return a|fter enu|
|00003da0| 6d 49 6e 66 6f 0d 69 66 | 20 66 6f 72 4b 65 79 46 |mInfo.if| forKeyF|
|00003db0| 6f 72 6d 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |orm then|.delete |
|00003dc0| 69 74 65 6d 20 31 20 6f | 66 20 78 0d 70 75 74 20 |item 1 o|f x.put |
|00003dd0| 78 20 69 6e 74 6f 20 6b | 65 79 46 6f 72 6d 4c 69 |x into k|eyFormLi|
|00003de0| 73 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |st.end i|f.end re|
|00003df0| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|00003e00| 49 66 20 6b 65 79 46 6f | 72 6d 4c 69 73 74 20 3d |If keyFo|rmList =|
|00003e10| 20 22 22 20 74 68 65 6e | 0d 70 75 74 20 22 49 6e | "" then|.put "In|
|00003e20| 64 65 78 2c 69 6e 64 78 | 2c 4e 61 6d 65 64 2c 6e |dex,indx|,Named,n|
|00003e30| 61 6d 65 2c 49 44 2c 69 | 64 20 20 22 20 69 6e 74 |ame,ID,i|d " int|
|00003e40| 6f 20 6b 65 79 46 6f 72 | 6d 4c 69 73 74 0d 65 6e |o keyFor|mList.en|
|00003e50| 64 20 69 66 0d 70 75 74 | 20 4d 61 6b 65 50 69 63 |d if.put| MakePic|
|00003e60| 6b 43 6c 61 73 73 4e 61 | 6d 65 28 63 6c 61 73 73 |kClassNa|me(class|
|00003e70| 4e 61 6d 65 4c 69 73 74 | 29 20 61 66 74 65 72 20 |NameList|) after |
|00003e80| 73 61 6d 70 6c 65 43 6f | 64 65 0d 70 75 74 20 63 |sampleCo|de.put c|
|00003e90| 6c 61 73 73 4e 61 6d 65 | 4c 69 73 74 20 69 6e 74 |lassName|List int|
|00003ea0| 6f 20 66 69 65 6c 64 20 | 22 63 6c 61 73 73 4e 61 |o field |"classNa|
|00003eb0| 6d 65 4c 69 73 74 22 0d | 70 75 74 20 68 69 65 72 |meList".|put hier|
|00003ec0| 61 72 63 68 79 4c 69 73 | 74 20 69 6e 74 6f 20 66 |archyLis|t into f|
|00003ed0| 69 65 6c 64 20 22 68 69 | 65 72 61 72 63 68 79 4c |ield "hi|erarchyL|
|00003ee0| 69 73 74 22 0d 70 75 74 | 20 6b 65 79 46 6f 72 6d |ist".put| keyForm|
|00003ef0| 4c 69 73 74 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |List int|o field |
|00003f00| 22 6b 65 79 46 6f 72 6d | 4c 69 73 74 22 0d 70 75 |"keyForm|List".pu|
|00003f10| 74 20 63 6f 6d 70 61 72 | 65 4c 69 73 74 20 69 6e |t compar|eList in|
|00003f20| 74 6f 20 66 69 65 6c 64 | 20 22 63 6f 6d 70 61 72 |to field| "compar|
|00003f30| 65 4c 69 73 74 22 0d 70 | 75 74 20 43 6c 61 73 73 |eList".p|ut Class|
|00003f40| 53 61 6d 70 6c 65 28 65 | 6c 65 6d 65 6e 74 4c 69 |Sample(e|lementLi|
|00003f50| 73 74 2c 20 63 6c 61 73 | 73 4e 61 6d 65 4c 69 73 |st, clas|sNameLis|
|00003f60| 74 2c 20 6b 65 79 46 6f | 72 6d 4c 69 73 74 29 20 |t, keyFo|rmList) |
|00003f70| 61 66 74 65 72 20 73 61 | 6d 70 6c 65 43 6f 64 65 |after sa|mpleCode|
|00003f80| 0d 70 75 74 20 38 20 69 | 6e 74 6f 20 6c 69 6e 65 |.put 8 i|nto line|
|00003f90| 73 52 65 61 64 0d 72 65 | 70 65 61 74 20 73 75 69 |sRead.re|peat sui|
|00003fa0| 74 65 43 6f 75 6e 74 20 | 74 69 6d 65 73 0d 73 65 |teCount |times.se|
|00003fb0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00003fc0| 0d 70 75 74 20 6c 69 6e | 65 20 6c 69 6e 65 73 52 |.put lin|e linesR|
|00003fd0| 65 61 64 2b 33 20 6f 66 | 20 61 65 74 65 20 69 6e |ead+3 of| aete in|
|00003fe0| 74 6f 20 73 75 69 74 65 | 43 6f 64 65 0d 70 75 74 |to suite|Code.put|
|00003ff0| 20 6c 69 6e 65 20 6c 69 | 6e 65 73 52 65 61 64 2b | line li|nesRead+|
|00004000| 31 20 6f 66 20 61 65 74 | 65 20 69 6e 74 6f 20 73 |1 of aet|e into s|
|00004010| 75 69 74 65 4e 61 6d 65 | 0d 70 75 74 20 6c 69 6e |uiteName|.put lin|
|00004020| 65 20 6c 69 6e 65 73 52 | 65 61 64 2b 32 20 6f 66 |e linesR|ead+2 of|
|00004030| 20 61 65 74 65 20 69 6e | 74 6f 20 73 75 69 74 65 | aete in|to suite|
|00004040| 43 6f 6d 6d 65 6e 74 0d | 70 75 74 20 6c 69 6e 65 |Comment.|put line|
|00004050| 20 6c 69 6e 65 73 52 65 | 61 64 2b 36 20 6f 66 20 | linesRe|ad+6 of |
|00004060| 61 65 74 65 20 69 6e 74 | 6f 20 65 76 65 6e 74 43 |aete int|o eventC|
|00004070| 6f 75 6e 74 0d 61 64 64 | 20 36 20 74 6f 20 6c 69 |ount.add| 6 to li|
|00004080| 6e 65 73 52 65 61 64 0d | 72 65 70 65 61 74 20 65 |nesRead.|repeat e|
|00004090| 76 65 6e 74 43 6f 75 6e | 74 20 74 69 6d 65 73 0d |ventCoun|t times.|
|000040a0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000040b0| 73 79 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 70 |sy.put "|" into p|
|000040c0| 61 72 61 6d 49 6e 66 6f | 0d 70 75 74 20 6c 69 6e |aramInfo|.put lin|
|000040d0| 65 20 6c 69 6e 65 73 52 | 65 61 64 2b 31 20 6f 66 |e linesR|ead+1 of|
|000040e0| 20 61 65 74 65 20 69 6e | 74 6f 20 65 76 65 6e 74 | aete in|to event|
|000040f0| 4e 61 6d 65 0d 70 75 74 | 20 6c 69 6e 65 20 6c 69 |Name.put| line li|
|00004100| 6e 65 73 52 65 61 64 2b | 32 20 6f 66 20 61 65 74 |nesRead+|2 of aet|
|00004110| 65 20 69 6e 74 6f 20 65 | 76 65 6e 74 43 6f 6d 6d |e into e|ventComm|
|00004120| 65 6e 74 0d 70 75 74 20 | 6c 69 6e 65 20 6c 69 6e |ent.put |line lin|
|00004130| 65 73 52 65 61 64 2b 33 | 20 6f 66 20 61 65 74 65 |esRead+3| of aete|
|00004140| 20 69 6e 74 6f 20 65 76 | 65 6e 74 43 6c 61 73 73 | into ev|entClass|
|00004150| 0d 70 75 74 20 6c 69 6e | 65 20 6c 69 6e 65 73 52 |.put lin|e linesR|
|00004160| 65 61 64 2b 34 20 6f 66 | 20 61 65 74 65 20 69 6e |ead+4 of| aete in|
|00004170| 74 6f 20 65 76 65 6e 74 | 49 44 0d 70 75 74 20 22 |to event|ID.put "|
|00004180| 2c 2c 22 20 69 6e 74 6f | 20 78 20 2d 2d 20 70 75 |,," into| x -- pu|
|00004190| 74 20 69 6e 20 74 68 65 | 20 72 65 70 6c 79 0d 70 |t in the| reply.p|
|000041a0| 75 74 20 6c 69 6e 65 20 | 6c 69 6e 65 73 52 65 61 |ut line |linesRea|
|000041b0| 64 2b 35 20 6f 66 20 61 | 65 74 65 20 69 6e 74 6f |d+5 of a|ete into|
|000041c0| 20 69 74 65 6d 20 33 20 | 6f 66 20 78 0d 70 75 74 | item 3 |of x.put|
|000041d0| 20 6c 69 6e 65 20 6c 69 | 6e 65 73 52 65 61 64 2b | line li|nesRead+|
|000041e0| 37 20 6f 66 20 61 65 74 | 65 20 69 6e 74 6f 20 69 |7 of aet|e into i|
|000041f0| 74 65 6d 20 34 20 6f 66 | 20 78 0d 70 75 74 20 6c |tem 4 of| x.put l|
|00004200| 69 6e 65 20 6c 69 6e 65 | 73 52 65 61 64 2b 36 20 |ine line|sRead+6 |
|00004210| 6f 66 20 61 65 74 65 20 | 69 6e 74 6f 20 69 74 65 |of aete |into ite|
|00004220| 6d 20 35 20 6f 66 20 78 | 0d 70 75 74 20 78 20 69 |m 5 of x|.put x i|
|00004230| 6e 74 6f 20 6c 69 6e 65 | 20 31 20 6f 66 20 70 61 |nto line| 1 of pa|
|00004240| 72 61 6d 49 6e 66 6f 0d | 70 75 74 20 22 2c 2c 22 |ramInfo.|put ",,"|
|00004250| 20 69 6e 74 6f 20 78 20 | 2d 2d 20 70 75 74 20 69 | into x |-- put i|
|00004260| 6e 20 74 68 65 20 64 69 | 72 65 63 74 20 70 61 72 |n the di|rect par|
|00004270| 61 6d 65 74 65 72 73 0d | 70 75 74 20 6c 69 6e 65 |ameters.|put line|
|00004280| 20 6c 69 6e 65 73 52 65 | 61 64 2b 38 20 6f 66 20 | linesRe|ad+8 of |
|00004290| 61 65 74 65 20 69 6e 74 | 6f 20 69 74 65 6d 20 33 |aete int|o item 3|
|000042a0| 20 6f 66 20 78 0d 70 75 | 74 20 6c 69 6e 65 20 6c | of x.pu|t line l|
|000042b0| 69 6e 65 73 52 65 61 64 | 2b 31 30 20 6f 66 20 61 |inesRead|+10 of a|
|000042c0| 65 74 65 20 69 6e 74 6f | 20 69 74 65 6d 20 34 20 |ete into| item 4 |
|000042d0| 6f 66 20 78 0d 70 75 74 | 20 6c 69 6e 65 20 6c 69 |of x.put| line li|
|000042e0| 6e 65 73 52 65 61 64 2b | 39 20 6f 66 20 61 65 74 |nesRead+|9 of aet|
|000042f0| 65 20 69 6e 74 6f 20 69 | 74 65 6d 20 35 20 6f 66 |e into i|tem 5 of|
|00004300| 20 78 0d 70 75 74 20 78 | 20 69 6e 74 6f 20 6c 69 | x.put x| into li|
|00004310| 6e 65 20 32 20 6f 66 20 | 70 61 72 61 6d 49 6e 66 |ne 2 of |paramInf|
|00004320| 6f 0d 70 75 74 20 6c 69 | 6e 65 20 6c 69 6e 65 73 |o.put li|ne lines|
|00004330| 52 65 61 64 2b 31 31 20 | 6f 66 20 61 65 74 65 20 |Read+11 |of aete |
|00004340| 69 6e 74 6f 20 70 61 72 | 61 6d 43 6f 75 6e 74 0d |into par|amCount.|
|00004350| 61 64 64 20 31 31 20 74 | 6f 20 6c 69 6e 65 73 52 |add 11 t|o linesR|
|00004360| 65 61 64 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ead.repe|at with |
|00004370| 70 61 72 61 6d 49 6e 64 | 65 78 20 3d 20 31 20 74 |paramInd|ex = 1 t|
|00004380| 6f 20 70 61 72 61 6d 43 | 6f 75 6e 74 0d 73 65 74 |o paramC|ount.set|
|00004390| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|000043a0| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 78 0d 70 75 |put "" i|nto x.pu|
|000043b0| 74 20 6c 69 6e 65 20 6c | 69 6e 65 73 52 65 61 64 |t line l|inesRead|
|000043c0| 2b 31 20 6f 66 20 61 65 | 74 65 20 69 6e 74 6f 20 |+1 of ae|te into |
|000043d0| 69 74 65 6d 20 31 20 6f | 66 20 78 0d 70 75 74 20 |item 1 o|f x.put |
|000043e0| 6c 69 6e 65 20 6c 69 6e | 65 73 52 65 61 64 2b 32 |line lin|esRead+2|
|000043f0| 20 6f 66 20 61 65 74 65 | 20 69 6e 74 6f 20 69 74 | of aete| into it|
|00004400| 65 6d 20 32 20 6f 66 20 | 78 0d 70 75 74 20 6c 69 |em 2 of |x.put li|
|00004410| 6e 65 20 6c 69 6e 65 73 | 52 65 61 64 2b 33 20 6f |ne lines|Read+3 o|
|00004420| 66 20 61 65 74 65 20 69 | 6e 74 6f 20 69 74 65 6d |f aete i|nto item|
|00004430| 20 33 20 6f 66 20 78 0d | 70 75 74 20 6c 69 6e 65 | 3 of x.|put line|
|00004440| 20 6c 69 6e 65 73 52 65 | 61 64 2b 35 20 6f 66 20 | linesRe|ad+5 of |
|00004450| 61 65 74 65 20 69 6e 74 | 6f 20 69 74 65 6d 20 34 |aete int|o item 4|
|00004460| 20 6f 66 20 78 0d 70 75 | 74 20 6c 69 6e 65 20 6c | of x.pu|t line l|
|00004470| 69 6e 65 73 52 65 61 64 | 2b 34 20 6f 66 20 61 65 |inesRead|+4 of ae|
|00004480| 74 65 20 69 6e 74 6f 20 | 69 74 65 6d 20 35 20 6f |te into |item 5 o|
|00004490| 66 20 78 0d 61 64 64 20 | 35 20 74 6f 20 6c 69 6e |f x.add |5 to lin|
|000044a0| 65 73 52 65 61 64 0d 70 | 75 74 20 78 20 69 6e 74 |esRead.p|ut x int|
|000044b0| 6f 20 6c 69 6e 65 20 28 | 70 61 72 61 6d 49 6e 64 |o line (|paramInd|
|000044c0| 65 78 2b 32 29 20 6f 66 | 20 70 61 72 61 6d 49 6e |ex+2) of| paramIn|
|000044d0| 66 6f 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |fo.end r|epeat.pu|
|000044e0| 74 20 45 76 65 6e 74 53 | 61 6d 70 6c 65 28 65 76 |t EventS|ample(ev|
|000044f0| 65 6e 74 4e 61 6d 65 2c | 20 52 65 73 54 79 70 65 |entName,| ResType|
|00004500| 28 65 76 65 6e 74 43 6c | 61 73 73 29 2c 20 52 65 |(eventCl|ass), Re|
|00004510| 73 54 79 70 65 28 65 76 | 65 6e 74 49 44 29 2c 20 |sType(ev|entID), |
|00004520| 70 61 72 61 6d 49 6e 66 | 6f 2c 20 65 6e 75 6d 49 |paramInf|o, enumI|
|00004530| 6e 66 6f 29 20 61 66 74 | 65 72 20 73 61 6d 70 6c |nfo) aft|er sampl|
|00004540| 65 43 6f 64 65 0d 48 79 | 70 65 72 54 61 6c 6b 54 |eCode.Hy|perTalkT|
|00004550| 65 6d 70 6c 61 74 65 20 | 65 76 65 6e 74 4e 61 6d |emplate |eventNam|
|00004560| 65 2c 20 65 76 65 6e 74 | 43 6f 6d 6d 65 6e 74 2c |e, event|Comment,|
|00004570| 20 70 61 72 61 6d 49 6e | 66 6f 2c 20 65 6e 75 6d | paramIn|fo, enum|
|00004580| 49 6e 66 6f 0d 65 6e 64 | 20 72 65 70 65 61 74 20 |Info.end| repeat |
|00004590| 2d 2d 20 66 6f 72 20 65 | 76 65 72 79 20 65 76 65 |-- for e|very eve|
|000045a0| 6e 74 0d 70 75 74 20 6c | 69 6e 65 20 6c 69 6e 65 |nt.put l|ine line|
|000045b0| 73 52 65 61 64 2b 31 20 | 6f 66 20 61 65 74 65 20 |sRead+1 |of aete |
|000045c0| 69 6e 74 6f 20 63 6c 61 | 73 73 43 6f 75 6e 74 0d |into cla|ssCount.|
|000045d0| 61 64 64 20 31 20 74 6f | 20 6c 69 6e 65 73 52 65 |add 1 to| linesRe|
|000045e0| 61 64 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 63 |ad.repea|t with c|
|000045f0| 6c 61 73 73 49 6e 64 65 | 78 20 3d 20 31 20 74 6f |lassInde|x = 1 to|
|00004600| 20 63 6c 61 73 73 43 6f | 75 6e 74 0d 73 65 74 20 | classCo|unt.set |
|00004610| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 70 |cursor t|o busy.p|
|00004620| 75 74 20 6c 69 6e 65 20 | 6c 69 6e 65 73 52 65 61 |ut line |linesRea|
|00004630| 64 2b 34 20 6f 66 20 61 | 65 74 65 20 69 6e 74 6f |d+4 of a|ete into|
|00004640| 20 70 72 6f 70 43 6f 75 | 6e 74 0d 61 64 64 20 70 | propCou|nt.add p|
|00004650| 72 6f 70 43 6f 75 6e 74 | 20 2a 20 35 20 2b 20 35 |ropCount| * 5 + 5|
|00004660| 20 74 6f 20 6c 69 6e 65 | 73 52 65 61 64 20 2d 2d | to line|sRead --|
|00004670| 20 73 6b 69 70 20 70 72 | 6f 70 0d 70 75 74 20 6c | skip pr|op.put l|
|00004680| 69 6e 65 20 6c 69 6e 65 | 73 52 65 61 64 20 6f 66 |ine line|sRead of|
|00004690| 20 61 65 74 65 20 69 6e | 74 6f 20 65 6c 65 6d 43 | aete in|to elemC|
|000046a0| 6f 75 6e 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |ount.rep|eat with|
|000046b0| 20 65 6c 65 6d 49 6e 64 | 65 78 20 3d 20 31 20 74 | elemInd|ex = 1 t|
|000046c0| 6f 20 65 6c 65 6d 43 6f | 75 6e 74 0d 70 75 74 20 |o elemCo|unt.put |
|000046d0| 6c 69 6e 65 20 6c 69 6e | 65 73 52 65 61 64 2b 32 |line lin|esRead+2|
|000046e0| 20 6f 66 20 61 65 74 65 | 20 69 6e 74 6f 20 6b 65 | of aete| into ke|
|000046f0| 79 46 6f 72 6d 43 6f 75 | 6e 74 0d 61 64 64 20 6b |yFormCou|nt.add k|
|00004700| 65 79 46 6f 72 6d 43 6f | 75 6e 74 20 2b 20 32 20 |eyFormCo|unt + 2 |
|00004710| 74 6f 20 6c 69 6e 65 73 | 52 65 61 64 20 2d 2d 20 |to lines|Read -- |
|00004720| 73 6b 69 70 20 6b 65 79 | 20 46 6f 72 6d 0d 65 6e |skip key| Form.en|
|00004730| 64 20 72 65 70 65 61 74 | 20 2d 2d 20 66 6f 72 20 |d repeat| -- for |
|00004740| 65 76 65 72 79 20 65 6c | 65 6d 65 6e 74 0d 65 6e |every el|ement.en|
|00004750| 64 20 72 65 70 65 61 74 | 20 2d 2d 20 66 6f 72 20 |d repeat| -- for |
|00004760| 65 76 65 72 79 20 63 6c | 61 73 73 0d 61 64 64 20 |every cl|ass.add |
|00004770| 31 20 74 6f 20 6c 69 6e | 65 73 52 65 61 64 0d 70 |1 to lin|esRead.p|
|00004780| 75 74 20 6c 69 6e 65 20 | 6c 69 6e 65 73 52 65 61 |ut line |linesRea|
|00004790| 64 20 6f 66 20 61 65 74 | 65 20 69 6e 74 6f 20 63 |d of aet|e into c|
|000047a0| 6f 6d 70 61 72 65 43 6f | 75 6e 74 0d 61 64 64 20 |ompareCo|unt.add |
|000047b0| 63 6f 6d 70 61 72 65 43 | 6f 75 6e 74 2a 33 2b 31 |compareC|ount*3+1|
|000047c0| 20 74 6f 20 6c 69 6e 65 | 73 52 65 61 64 20 2d 2d | to line|sRead --|
|000047d0| 20 73 6b 69 70 20 63 6f | 6d 70 61 72 65 0d 70 75 | skip co|mpare.pu|
|000047e0| 74 20 6c 69 6e 65 20 6c | 69 6e 65 73 52 65 61 64 |t line l|inesRead|
|000047f0| 20 6f 66 20 61 65 74 65 | 20 69 6e 74 6f 20 65 6e | of aete| into en|
|00004800| 75 6d 65 72 61 74 69 6f | 6e 43 6f 75 6e 74 0d 72 |umeratio|nCount.r|
|00004810| 65 70 65 61 74 20 65 6e | 75 6d 65 72 61 74 69 6f |epeat en|umeratio|
|00004820| 6e 43 6f 75 6e 74 20 74 | 69 6d 65 73 0d 73 65 74 |nCount t|imes.set|
|00004830| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00004840| 70 75 74 20 6c 69 6e 65 | 20 6c 69 6e 65 73 52 65 |put line| linesRe|
|00004850| 61 64 2b 32 20 6f 66 20 | 61 65 74 65 20 69 6e 74 |ad+2 of |aete int|
|00004860| 6f 20 65 6e 75 6d 65 72 | 61 74 6f 72 43 6f 75 6e |o enumer|atorCoun|
|00004870| 74 0d 61 64 64 20 65 6e | 75 6d 65 72 61 74 6f 72 |t.add en|umerator|
|00004880| 43 6f 75 6e 74 2a 33 2b | 32 20 74 6f 20 6c 69 6e |Count*3+|2 to lin|
|00004890| 65 73 52 65 61 64 20 2d | 2d 20 73 6b 69 70 20 65 |esRead -|- skip e|
|000048a0| 6e 75 6d 65 72 61 74 6f | 72 73 0d 65 6e 64 20 72 |numerato|rs.end r|
|000048b0| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|000048c0| 0d 43 6d 64 4f 72 4f 62 | 6a 42 75 74 74 6f 6e 0d |.CmdOrOb|jButton.|
|000048d0| 69 66 20 6c 65 6e 67 74 | 68 28 73 61 6d 70 6c 65 |if lengt|h(sample|
|000048e0| 43 6f 64 65 29 20 3c 20 | 33 32 30 30 30 20 74 68 |Code) < |32000 th|
|000048f0| 65 6e 0d 73 65 74 20 73 | 63 72 69 70 74 20 6f 66 |en.set s|cript of|
|00004900| 20 74 68 69 73 20 63 61 | 72 64 20 74 6f 20 73 61 | this ca|rd to sa|
|00004910| 6d 70 6c 65 43 6f 64 65 | 0d 65 6c 73 65 0d 61 73 |mpleCode|.else.as|
|00004920| 6b 20 66 69 6c 65 20 22 | 53 63 72 69 70 74 20 69 |k file "|Script i|
|00004930| 73 20 74 6f 6f 20 62 69 | 67 2c 20 73 61 76 65 20 |s too bi|g, save |
|00004940| 74 6f 20 66 69 6c 65 3f | 22 0d 69 66 20 69 74 20 |to file?|".if it |
|00004950| 3c 3e 20 22 22 20 74 68 | 65 6e 0d 70 75 74 20 69 |<> "" th|en.put i|
|00004960| 74 20 69 6e 74 6f 20 72 | 65 66 0d 6f 70 65 6e 20 |t into r|ef.open |
|00004970| 66 69 6c 65 20 72 65 66 | 0d 77 72 69 74 65 20 73 |file ref|.write s|
|00004980| 61 6d 70 6c 65 43 6f 64 | 65 20 74 6f 20 66 69 6c |ampleCod|e to fil|
|00004990| 65 20 72 65 66 0d 63 6c | 6f 73 65 20 66 69 6c 65 |e ref.cl|ose file|
|000049a0| 20 72 65 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 | ref.end| if.end |
|000049b0| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 6d 6f |if.end i|f.end mo|
|000049c0| 75 73 65 55 70 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |useUp..f|unction |
|000049d0| 45 76 65 6e 74 53 61 6d | 70 6c 65 20 65 76 65 6e |EventSam|ple even|
|000049e0| 74 4e 61 6d 65 2c 20 65 | 76 65 6e 74 43 6c 61 73 |tName, e|ventClas|
|000049f0| 73 2c 20 65 76 65 6e 74 | 49 44 2c 20 70 61 72 61 |s, event|ID, para|
|00004a00| 6d 49 6e 66 6f 2c 20 65 | 6e 75 6d 49 6e 66 6f 0d |mInfo, e|numInfo.|
|00004a10| 70 75 74 20 2d 31 20 69 | 6e 74 6f 20 64 65 66 61 |put -1 i|nto defa|
|00004a20| 75 6c 74 54 69 6d 65 4f | 75 74 0d 70 75 74 20 66 |ultTimeO|ut.put f|
|00004a30| 69 65 6c 64 20 22 74 61 | 72 67 65 74 41 70 70 22 |ield "ta|rgetApp"|
|00004a40| 20 69 6e 74 6f 20 64 65 | 66 61 75 6c 74 54 61 72 | into de|faultTar|
|00004a50| 67 65 74 0d 70 75 74 20 | 63 68 61 72 20 31 20 74 |get.put |char 1 t|
|00004a60| 6f 20 32 20 6f 66 20 65 | 76 65 6e 74 4e 61 6d 65 |o 2 of e|ventName|
|00004a70| 20 69 6e 74 6f 20 78 0d | 69 66 20 28 78 20 3d 20 | into x.|if (x = |
|00004a80| 22 23 2a 22 29 20 6f 72 | 20 28 78 20 3d 20 22 23 |"#*") or| (x = "#|
|00004a90| 24 22 29 20 74 68 65 6e | 0d 70 75 74 20 22 2a 22 |$") then|.put "*"|
|00004aa0| 20 69 6e 74 6f 20 64 65 | 66 61 75 6c 74 54 61 72 | into de|faultTar|
|00004ab0| 67 65 74 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 22 |get.end |if.put "|
|00004ac0| 41 45 22 20 26 20 53 74 | 72 69 70 53 50 28 45 76 |AE" & St|ripSP(Ev|
|00004ad0| 65 6e 74 4e 61 6d 65 29 | 20 69 6e 74 6f 20 45 76 |entName)| into Ev|
|00004ae0| 65 6e 74 4e 61 6d 65 0d | 70 75 74 20 28 69 74 65 |entName.|put (ite|
|00004af0| 6d 20 33 20 6f 66 20 70 | 61 72 61 6d 49 6e 66 6f |m 3 of p|aramInfo|
|00004b00| 20 3c 3e 20 22 6e 75 6c | 6c 22 29 20 69 6e 74 6f | <> "nul|l") into|
|00004b10| 20 69 73 46 75 6e 63 0d | 69 66 20 69 73 46 75 6e | isFunc.|if isFun|
|00004b20| 63 20 74 68 65 6e 0d 70 | 75 74 20 22 46 75 6e 63 |c then.p|ut "Func|
|00004b30| 74 69 6f 6e 22 20 69 6e | 74 6f 20 68 65 61 64 65 |tion" in|to heade|
|00004b40| 72 0d 65 6c 73 65 0d 70 | 75 74 20 22 4f 6e 22 20 |r.else.p|ut "On" |
|00004b50| 69 6e 74 6f 20 68 65 61 | 64 65 72 0d 65 6e 64 20 |into hea|der.end |
|00004b60| 69 66 0d 70 75 74 20 73 | 70 61 63 65 20 26 20 45 |if.put s|pace & E|
|00004b70| 76 65 6e 74 4e 61 6d 65 | 20 61 66 74 65 72 20 68 |ventName| after h|
|00004b80| 65 61 64 65 72 0d 70 75 | 74 20 73 70 61 63 65 20 |eader.pu|t space |
|00004b90| 26 20 4e 75 6d 54 6f 43 | 68 61 72 28 31 39 34 29 |& NumToC|har(194)|
|00004ba0| 20 26 20 72 65 74 75 72 | 6e 20 69 6e 74 6f 20 63 | & retur|n into c|
|00004bb0| 6f 6e 74 0d 70 75 74 20 | 22 20 20 70 75 74 20 22 |ont.put |" put "|
|00004bc0| 20 26 20 71 75 6f 74 65 | 20 26 20 22 41 45 53 65 | & quote| & "AESe|
|00004bd0| 6e 64 20 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 |nd " & q|uote & "|
|00004be0| 20 26 20 71 75 6f 74 65 | 20 26 20 22 20 26 20 71 | & quote| & " & q|
|00004bf0| 75 6f 74 65 20 26 20 65 | 76 65 6e 74 43 6c 61 73 |uote & e|ventClas|
|00004c00| 73 20 26 20 65 76 65 6e | 74 49 44 20 26 20 71 75 |s & even|tID & qu|
|00004c10| 6f 74 65 20 26 20 22 20 | 26 20 71 75 6f 74 65 20 |ote & " |& quote |
|00004c20| 26 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 2c |& " & qu|ote & ",|
|00004c30| 22 20 26 20 71 75 6f 74 | 65 20 26 20 63 6f 6e 74 |" & quot|e & cont|
|00004c40| 20 61 66 74 65 72 20 73 | 65 6e 64 48 65 61 64 65 | after s|endHeade|
|00004c50| 72 0d 70 75 74 20 22 20 | 20 26 20 71 75 6f 74 65 |r.put " | & quote|
|00004c60| 20 26 20 22 20 26 20 71 | 75 6f 74 65 20 26 20 64 | & " & q|uote & d|
|00004c70| 65 66 61 75 6c 74 54 61 | 72 67 65 74 20 26 20 71 |efaultTa|rget & q|
|00004c80| 75 6f 74 65 20 26 20 22 | 20 26 20 71 75 6f 74 65 |uote & "| & quote|
|00004c90| 20 26 20 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 | & " & q|uote & "|
|00004ca0| 2c 22 20 26 20 71 75 6f | 74 65 20 26 20 63 6f 6e |," & quo|te & con|
|00004cb0| 74 20 61 66 74 65 72 20 | 73 65 6e 64 48 65 61 64 |t after |sendHead|
|00004cc0| 65 72 0d 70 75 74 20 22 | 20 20 26 20 22 20 26 20 |er.put "| & " & |
|00004cd0| 71 75 6f 74 65 20 61 66 | 74 65 72 20 73 65 6e 64 |quote af|ter send|
|00004ce0| 48 65 61 64 65 72 0d 70 | 75 74 20 22 20 20 41 45 |Header.p|ut " AE|
|00004cf0| 53 65 6e 64 20 22 20 26 | 20 71 75 6f 74 65 20 26 |Send " &| quote &|
|00004d00| 20 65 76 65 6e 74 43 6c | 61 73 73 20 26 20 65 76 | eventCl|ass & ev|
|00004d10| 65 6e 74 49 44 20 26 20 | 71 75 6f 74 65 20 26 20 |entID & |quote & |
|00004d20| 22 2c 22 20 c2 0d 26 20 | 71 75 6f 74 65 20 26 20 |"," ..& |quote & |
|00004d30| 64 65 66 61 75 6c 74 54 | 61 72 67 65 74 20 26 20 |defaultT|arget & |
|00004d40| 71 75 6f 74 65 20 26 20 | 22 2c 22 20 69 6e 74 6f |quote & |"," into|
|00004d50| 20 73 68 6f 72 74 48 65 | 61 64 65 72 0d 69 66 20 | shortHe|ader.if |
|00004d60| 69 73 46 75 6e 63 20 74 | 68 65 6e 0d 70 75 74 20 |isFunc t|hen.put |
|00004d70| 22 33 2c 22 20 61 66 74 | 65 72 20 73 65 6e 64 48 |"3," aft|er sendH|
|00004d80| 65 61 64 65 72 0d 70 75 | 74 20 22 33 2c 22 20 61 |eader.pu|t "3," a|
|00004d90| 66 74 65 72 20 73 68 6f | 72 74 48 65 61 64 65 72 |fter sho|rtHeader|
|00004da0| 0d 65 6c 73 65 0d 70 75 | 74 20 22 31 2c 22 20 61 |.else.pu|t "1," a|
|00004db0| 66 74 65 72 20 73 65 6e | 64 48 65 61 64 65 72 0d |fter sen|dHeader.|
|00004dc0| 70 75 74 20 22 31 2c 22 | 20 61 66 74 65 72 20 73 |put "1,"| after s|
|00004dd0| 68 6f 72 74 48 65 61 64 | 65 72 0d 65 6e 64 20 69 |hortHead|er.end i|
|00004de0| 66 0d 70 75 74 20 64 65 | 66 61 75 6c 74 54 69 6d |f.put de|faultTim|
|00004df0| 65 4f 75 74 20 26 20 71 | 75 6f 74 65 20 61 66 74 |eOut & q|uote aft|
|00004e00| 65 72 20 73 65 6e 64 48 | 65 61 64 65 72 0d 70 75 |er sendH|eader.pu|
|00004e10| 74 20 64 65 66 61 75 6c | 74 54 69 6d 65 4f 75 74 |t defaul|tTimeOut|
|00004e20| 20 61 66 74 65 72 20 73 | 68 6f 72 74 48 65 61 64 | after s|hortHead|
|00004e30| 65 72 0d 70 75 74 20 6c | 69 6e 65 20 32 20 6f 66 |er.put l|ine 2 of|
|00004e40| 20 70 61 72 61 6d 49 6e | 66 6f 20 69 6e 74 6f 20 | paramIn|fo into |
|00004e50| 78 0d 70 75 74 20 28 69 | 74 65 6d 20 33 20 6f 66 |x.put (i|tem 3 of|
|00004e60| 20 78 20 3c 3e 20 22 6e | 75 6c 6c 22 29 20 69 6e | x <> "n|ull") in|
|00004e70| 74 6f 20 68 61 73 44 69 | 72 65 63 74 0d 70 75 74 |to hasDi|rect.put|
|00004e80| 20 28 69 74 65 6d 20 34 | 20 6f 66 20 78 20 3e 20 | (item 4| of x > |
|00004e90| 33 32 37 36 37 29 20 69 | 6e 74 6f 20 64 69 72 65 |32767) i|nto dire|
|00004ea0| 63 74 4f 70 74 69 6f 6e | 61 6c 0d 70 75 74 20 31 |ctOption|al.put 1|
|00004eb0| 20 69 6e 74 6f 20 70 61 | 72 61 6d 49 6e 64 65 78 | into pa|ramIndex|
|00004ec0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00004ed0| 68 61 73 4f 70 74 69 6f | 6e 61 6c 0d 70 75 74 20 |hasOptio|nal.put |
|00004ee0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00004ef0| 69 6e 20 70 61 72 61 6d | 49 6e 66 6f 20 69 6e 74 |in param|Info int|
|00004f00| 6f 20 63 6f 75 6e 74 0d | 72 65 70 65 61 74 20 77 |o count.|repeat w|
|00004f10| 69 74 68 20 69 6e 64 65 | 78 20 3d 20 32 20 74 6f |ith inde|x = 2 to|
|00004f20| 20 63 6f 75 6e 74 0d 73 | 65 74 20 63 75 72 73 6f | count.s|et curso|
|00004f30| 72 20 74 6f 20 62 75 73 | 79 0d 70 75 74 20 6c 69 |r to bus|y.put li|
|00004f40| 6e 65 20 69 6e 64 65 78 | 20 6f 66 20 70 61 72 61 |ne index| of para|
|00004f50| 6d 49 6e 66 6f 20 69 6e | 74 6f 20 78 0d 70 75 74 |mInfo in|to x.put|
|00004f60| 20 69 74 65 6d 20 34 20 | 6f 66 20 78 20 69 6e 74 | item 4 |of x int|
|00004f70| 6f 20 74 65 6d 70 0d 70 | 75 74 20 28 74 65 6d 70 |o temp.p|ut (temp|
|00004f80| 20 3e 20 33 32 37 36 37 | 29 20 69 6e 74 6f 20 69 | > 32767|) into i|
|00004f90| 73 4f 70 74 69 6f 6e 61 | 6c 0d 69 66 20 69 74 65 |sOptiona|l.if ite|
|00004fa0| 6d 20 33 20 6f 66 20 78 | 20 3c 3e 20 22 6e 75 6c |m 3 of x| <> "nul|
|00004fb0| 6c 22 20 74 68 65 6e 0d | 69 66 20 69 73 4f 70 74 |l" then.|if isOpt|
|00004fc0| 69 6f 6e 61 6c 20 74 68 | 65 6e 0d 69 66 20 69 6e |ional th|en.if in|
|00004fd0| 64 65 78 20 3c 3e 20 32 | 20 74 68 65 6e 0d 70 75 |dex <> 2| then.pu|
|00004fe0| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 68 61 73 4f |t true i|nto hasO|
|00004ff0| 70 74 69 6f 6e 61 6c 0d | 65 6e 64 20 69 66 0d 65 |ptional.|end if.e|
|00005000| 6c 73 65 0d 70 75 74 20 | 74 65 6d 70 20 64 69 76 |lse.put |temp div|
|00005010| 20 38 31 39 32 20 69 6e | 74 6f 20 74 65 6d 70 0d | 8192 in|to temp.|
|00005020| 70 75 74 20 28 74 65 6d | 70 20 6d 6f 64 20 32 29 |put (tem|p mod 2)|
|00005030| 20 3d 20 31 20 69 6e 74 | 6f 20 69 73 45 6e 75 6d | = 1 int|o isEnum|
|00005040| 0d 69 66 20 69 6e 64 65 | 78 20 3d 20 32 20 74 68 |.if inde|x = 2 th|
|00005050| 65 6e 0d 2d 2d 20 66 69 | 72 73 74 20 70 61 72 61 |en.-- fi|rst para|
|00005060| 6d 65 74 65 72 20 69 73 | 20 74 68 65 20 64 69 72 |meter is| the dir|
|00005070| 65 63 74 20 70 61 72 61 | 6d 65 74 65 72 0d 69 66 |ect para|meter.if|
|00005080| 20 70 61 72 61 6d 49 6e | 64 65 78 20 3d 20 31 20 | paramIn|dex = 1 |
|00005090| 74 68 65 6e 0d 70 75 74 | 20 22 20 22 20 61 66 74 |then.put| " " aft|
|000050a0| 65 72 20 68 65 61 64 65 | 72 0d 65 6c 73 65 0d 70 |er heade|r.else.p|
|000050b0| 75 74 20 22 2c 22 20 61 | 66 74 65 72 20 68 65 61 |ut "," a|fter hea|
|000050c0| 64 65 72 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 22 |der.end |if.put "|
|000050d0| 64 69 72 65 63 74 50 61 | 72 61 6d 22 20 61 66 74 |directPa|ram" aft|
|000050e0| 65 72 20 68 65 61 64 65 | 72 0d 70 75 74 20 22 2d |er heade|r.put "-|
|000050f0| 2d 2d 2d 22 20 69 6e 74 | 6f 20 69 74 65 6d 20 32 |---" int|o item 2|
|00005100| 20 6f 66 20 78 0d 70 75 | 74 20 48 54 4b 65 79 57 | of x.pu|t HTKeyW|
|00005110| 6f 72 64 28 78 29 20 69 | 6e 74 6f 20 74 68 69 73 |ord(x) i|nto this|
|00005120| 54 79 70 65 0d 69 66 20 | 6c 65 6e 67 74 68 28 74 |Type.if |length(t|
|00005130| 68 69 73 54 79 70 65 29 | 20 3e 20 34 20 74 68 65 |hisType)| > 4 the|
|00005140| 6e 0d 2d 2d 20 77 65 20 | 6e 65 65 64 20 61 20 6b |n.-- we |need a k|
|00005150| 65 79 77 6f 72 64 20 66 | 6f 72 20 64 69 72 65 63 |eyword f|or direc|
|00005160| 74 50 61 72 61 6d 20 62 | 65 63 61 75 73 65 20 74 |tParam b|ecause t|
|00005170| 68 65 72 65 20 69 73 20 | 61 20 74 79 70 65 0d 70 |here is |a type.p|
|00005180| 75 74 20 22 20 26 20 22 | 20 26 20 71 75 6f 74 65 |ut " & "| & quote|
|00005190| 20 26 20 22 2c 22 20 26 | 20 71 75 6f 74 65 20 26 | & "," &| quote &|
|000051a0| 20 22 20 26 20 71 75 6f | 74 65 20 26 20 22 20 26 | " & quo|te & " &|
|000051b0| 20 71 75 6f 74 65 20 26 | 20 74 68 69 73 54 79 70 | quote &| thisTyp|
|000051c0| 65 20 26 20 71 75 6f 74 | 65 20 26 20 22 20 26 20 |e & quot|e & " & |
|000051d0| 71 75 6f 74 65 20 22 20 | 61 66 74 65 72 20 73 65 |quote " |after se|
|000051e0| 6e 64 48 65 61 64 65 72 | 0d 70 75 74 20 22 2c 22 |ndHeader|.put ","|
|000051f0| 20 26 20 71 75 6f 74 65 | 20 26 20 74 68 69 73 54 | & quote| & thisT|
|00005200| 79 70 65 20 26 20 71 75 | 6f 74 65 20 61 66 74 65 |ype & qu|ote afte|
|00005210| 72 20 73 68 6f 72 74 48 | 65 61 64 65 72 0d 69 66 |r shortH|eader.if|
|00005220| 20 63 68 61 72 20 35 20 | 74 6f 20 38 20 6f 66 20 | char 5 |to 8 of |
|00005230| 74 68 69 73 54 79 70 65 | 20 3d 20 22 65 6e 75 6d |thisType| = "enum|
|00005240| 22 20 74 68 65 6e 0d 70 | 75 74 20 45 6e 75 6d 4c |" then.p|ut EnumL|
|00005250| 69 6e 65 73 28 65 6e 75 | 6d 49 6e 66 6f 2c 20 31 |ines(enu|mInfo, 1|
|00005260| 2c 69 74 65 6d 20 33 20 | 6f 66 20 78 2c 20 22 64 |,item 3 |of x, "d|
|00005270| 69 72 65 63 74 50 61 72 | 61 6d 22 2c 20 74 72 75 |irectPar|am", tru|
|00005280| 65 29 20 61 66 74 65 72 | 20 72 73 74 0d 65 6e 64 |e) after| rst.end|
|00005290| 20 69 66 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 22 | if.end |if.put "|
|000052a0| 20 26 20 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 | & " & q|uote & "|
|000052b0| 2c 64 69 72 65 63 74 50 | 61 72 61 6d 22 20 26 20 |,directP|aram" & |
|000052c0| 71 75 6f 74 65 20 61 66 | 74 65 72 20 73 65 6e 64 |quote af|ter send|
|000052d0| 48 65 61 64 65 72 0d 70 | 75 74 20 22 2c 64 69 72 |Header.p|ut ",dir|
|000052e0| 65 63 74 50 61 72 61 6d | 22 20 61 66 74 65 72 20 |ectParam|" after |
|000052f0| 73 68 6f 72 74 48 65 61 | 64 65 72 0d 61 64 64 20 |shortHea|der.add |
|00005300| 31 20 74 6f 20 70 61 72 | 61 6d 49 6e 64 65 78 0d |1 to par|amIndex.|
|00005310| 65 6c 73 65 0d 70 75 74 | 20 53 74 72 69 70 53 50 |else.put| StripSP|
|00005320| 28 69 74 65 6d 20 31 20 | 6f 66 20 78 29 20 69 6e |(item 1 |of x) in|
|00005330| 74 6f 20 74 65 6d 70 0d | 69 66 20 70 61 72 61 6d |to temp.|if param|
|00005340| 49 6e 64 65 78 20 3d 20 | 31 20 74 68 65 6e 0d 70 |Index = |1 then.p|
|00005350| 75 74 20 22 20 22 20 61 | 66 74 65 72 20 68 65 61 |ut " " a|fter hea|
|00005360| 64 65 72 0d 65 6c 73 65 | 0d 70 75 74 20 22 2c 22 |der.else|.put ","|
|00005370| 20 61 66 74 65 72 20 68 | 65 61 64 65 72 0d 65 6e | after h|eader.en|
|00005380| 64 20 69 66 0d 70 75 74 | 20 74 65 6d 70 20 61 66 |d if.put| temp af|
|00005390| 74 65 72 20 68 65 61 64 | 65 72 0d 2d 2d 20 70 75 |ter head|er.-- pu|
|000053a0| 74 20 69 6e 20 74 68 65 | 20 6b 65 79 77 6f 72 64 |t in the| keyword|
|000053b0| 0d 70 75 74 20 48 54 4b | 65 79 57 6f 72 64 28 78 |.put HTK|eyWord(x|
|000053c0| 29 20 69 6e 74 6f 20 74 | 68 69 73 54 79 70 65 0d |) into t|hisType.|
|000053d0| 69 66 20 28 74 65 6d 70 | 20 3d 20 22 63 6c 61 73 |if (temp| = "clas|
|000053e0| 73 22 29 20 61 6e 64 20 | 28 69 74 65 6d 20 33 20 |s") and |(item 3 |
|000053f0| 6f 66 20 78 20 3d 20 22 | 74 79 70 65 22 29 20 74 |of x = "|type") t|
|00005400| 68 65 6e 0d 70 75 74 20 | 22 50 69 63 6b 43 6c 61 |hen.put |"PickCla|
|00005410| 73 73 4e 61 6d 65 28 22 | 20 26 20 74 65 6d 70 20 |ssName("| & temp |
|00005420| 26 20 22 29 22 20 69 6e | 74 6f 20 74 65 6d 70 0d |& ")" in|to temp.|
|00005430| 65 6e 64 20 69 66 0d 70 | 75 74 20 22 20 26 20 22 |end if.p|ut " & "|
|00005440| 20 26 20 71 75 6f 74 65 | 20 26 20 22 2c 22 20 26 | & quote| & "," &|
|00005450| 20 71 75 6f 74 65 20 26 | 20 22 20 26 20 71 75 6f | quote &| " & quo|
|00005460| 74 65 20 26 20 22 20 26 | 20 71 75 6f 74 65 20 c2 |te & " &| quote .|
|00005470| 0d 26 20 74 68 69 73 54 | 79 70 65 20 26 20 71 75 |.& thisT|ype & qu|
|00005480| 6f 74 65 20 26 20 22 20 | 26 20 71 75 6f 74 65 20 |ote & " |& quote |
|00005490| 26 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 2c |& " & qu|ote & ",|
|000054a0| 22 20 26 20 74 65 6d 70 | 20 26 20 71 75 6f 74 65 |" & temp| & quote|
|000054b0| 20 61 66 74 65 72 20 73 | 65 6e 64 48 65 61 64 65 | after s|endHeade|
|000054c0| 72 0d 70 75 74 20 22 2c | 22 20 26 20 71 75 6f 74 |r.put ",|" & quot|
|000054d0| 65 20 26 20 74 68 69 73 | 54 79 70 65 20 26 20 71 |e & this|Type & q|
|000054e0| 75 6f 74 65 20 26 20 22 | 2c 22 20 26 20 74 65 6d |uote & "|," & tem|
|000054f0| 70 20 61 66 74 65 72 20 | 73 68 6f 72 74 48 65 61 |p after |shortHea|
|00005500| 64 65 72 0d 69 66 20 63 | 68 61 72 20 35 20 74 6f |der.if c|har 5 to|
|00005510| 20 38 20 6f 66 20 74 68 | 69 73 54 79 70 65 20 3d | 8 of th|isType =|
|00005520| 20 22 65 6e 75 6d 22 20 | 74 68 65 6e 0d 70 75 74 | "enum" |then.put|
|00005530| 20 45 6e 75 6d 4c 69 6e | 65 73 28 65 6e 75 6d 49 | EnumLin|es(enumI|
|00005540| 6e 66 6f 2c 20 31 2c 69 | 74 65 6d 20 33 20 6f 66 |nfo, 1,i|tem 3 of|
|00005550| 20 78 2c 20 74 65 6d 70 | 2c 20 74 72 75 65 29 20 | x, temp|, true) |
|00005560| 61 66 74 65 72 20 72 73 | 74 0d 65 6e 64 20 69 66 |after rs|t.end if|
|00005570| 0d 61 64 64 20 31 20 74 | 6f 20 70 61 72 61 6d 49 |.add 1 t|o paramI|
|00005580| 6e 64 65 78 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ndex.end| if.end |
|00005590| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |if.end i|f.end re|
|000055a0| 70 65 61 74 20 2d 2d 20 | 32 20 74 6f 20 6e 0d 69 |peat -- |2 to n.i|
|000055b0| 66 20 28 68 61 73 4f 70 | 74 69 6f 6e 61 6c 29 20 |f (hasOp|tional) |
|000055c0| 6f 72 20 28 68 61 73 44 | 69 72 65 63 74 20 61 6e |or (hasD|irect an|
|000055d0| 64 20 64 69 72 65 63 74 | 4f 70 74 69 6f 6e 61 6c |d direct|Optional|
|000055e0| 29 20 74 68 65 6e 20 2d | 2d 20 6e 6f 74 20 61 6c |) then -|- not al|
|000055f0| 6c 20 70 61 72 61 6d 20 | 61 72 65 20 72 65 71 75 |l param |are requ|
|00005600| 69 72 65 64 0d 70 75 74 | 20 68 65 61 64 65 72 20 |ired.put| header |
|00005610| 26 20 72 65 74 75 72 6e | 20 26 20 73 65 6e 64 48 |& return| & sendH|
|00005620| 65 61 64 65 72 20 26 20 | 22 20 61 66 74 65 72 20 |eader & |" after |
|00005630| 73 74 6d 74 22 20 26 20 | 72 65 74 75 72 6e 20 62 |stmt" & |return b|
|00005640| 65 66 6f 72 65 20 72 73 | 74 0d 69 66 20 68 61 73 |efore rs|t.if has|
|00005650| 44 69 72 65 63 74 20 61 | 6e 64 20 64 69 72 65 63 |Direct a|nd direc|
|00005660| 74 4f 70 74 69 6f 6e 61 | 6c 20 74 68 65 6e 0d 70 |tOptiona|l then.p|
|00005670| 75 74 20 22 20 20 70 75 | 74 20 22 20 26 20 70 61 |ut " pu|t " & pa|
|00005680| 72 61 6d 49 6e 64 65 78 | 20 26 20 22 20 69 6e 74 |ramIndex| & " int|
|00005690| 6f 20 69 22 20 26 20 72 | 65 74 75 72 6e 20 61 66 |o i" & r|eturn af|
|000056a0| 74 65 72 20 72 73 74 0d | 2d 2d 20 77 65 20 68 61 |ter rst.|-- we ha|
|000056b0| 76 65 20 61 20 6f 70 74 | 69 6f 6e 61 6c 20 64 69 |ve a opt|ional di|
|000056c0| 72 65 63 74 20 70 61 72 | 61 6d 65 74 65 72 0d 70 |rect par|ameter.p|
|000056d0| 75 74 20 22 20 20 69 66 | 20 28 74 68 65 20 50 61 |ut " if| (the Pa|
|000056e0| 72 61 6d 43 6f 75 6e 74 | 22 20 61 66 74 65 72 20 |ramCount|" after |
|000056f0| 72 73 74 0d 69 66 20 70 | 61 72 61 6d 49 6e 64 65 |rst.if p|aramInde|
|00005700| 78 20 3e 20 31 20 74 68 | 65 6e 20 70 75 74 20 73 |x > 1 th|en put s|
|00005710| 70 61 63 65 20 26 20 22 | 2d 20 22 20 26 20 70 61 |pace & "|- " & pa|
|00005720| 72 61 6d 49 6e 64 65 78 | 2d 31 20 61 66 74 65 72 |ramIndex|-1 after|
|00005730| 20 72 73 74 0d 70 75 74 | 20 22 29 20 6d 6f 64 20 | rst.put| ") mod |
|00005740| 32 20 3d 20 31 20 74 68 | 65 6e 22 20 26 20 72 65 |2 = 1 th|en" & re|
|00005750| 74 75 72 6e 20 61 66 74 | 65 72 20 72 73 74 0d 70 |turn aft|er rst.p|
|00005760| 75 74 20 6c 69 6e 65 20 | 32 20 6f 66 20 70 61 72 |ut line |2 of par|
|00005770| 61 6d 49 6e 66 6f 20 69 | 6e 74 6f 20 78 0d 70 75 |amInfo i|nto x.pu|
|00005780| 74 20 22 2d 2d 2d 2d 22 | 20 69 6e 74 6f 20 69 74 |t "----"| into it|
|00005790| 65 6d 20 32 20 6f 66 20 | 78 0d 70 75 74 20 48 54 |em 2 of |x.put HT|
|000057a0| 4b 65 79 57 6f 72 64 28 | 78 29 20 69 6e 74 6f 20 |KeyWord(|x) into |
|000057b0| 74 68 69 73 54 79 70 65 | 0d 70 75 74 20 66 61 6c |thisType|.put fal|
|000057c0| 73 65 20 69 6e 74 6f 20 | 70 61 72 61 6d 49 73 55 |se into |paramIsU|
|000057d0| 70 20 2d 2d 20 77 65 20 | 68 61 76 65 20 6e 6f 74 |p -- we |have not|
|000057e0| 20 70 75 74 20 50 61 72 | 61 6d 20 75 70 20 79 65 | put Par|am up ye|
|000057f0| 74 0d 69 66 20 28 70 61 | 72 61 6d 49 6e 64 65 78 |t.if (pa|ramIndex|
|00005800| 20 3e 20 31 29 20 6f 72 | 20 28 6c 65 6e 67 74 68 | > 1) or| (length|
|00005810| 28 74 68 69 73 54 79 70 | 65 29 20 3e 20 34 29 20 |(thisTyp|e) > 4) |
|00005820| 74 68 65 6e 0d 2d 2d 20 | 77 65 20 68 61 76 65 20 |then.-- |we have |
|00005830| 74 6f 20 66 61 6b 65 20 | 61 20 6b 65 79 77 6f 72 |to fake |a keywor|
|00005840| 64 0d 70 75 74 20 22 20 | 20 20 20 70 75 74 20 22 |d.put " | put "|
|00005850| 20 26 20 71 75 6f 74 65 | 20 26 20 22 2c 22 20 26 | & quote| & "," &|
|00005860| 20 71 75 6f 74 65 20 26 | 20 22 20 26 20 71 75 6f | quote &| " & quo|
|00005870| 74 65 20 26 20 22 20 26 | 20 71 75 6f 74 65 20 26 |te & " &| quote &|
|00005880| 20 74 68 69 73 54 79 70 | 65 20 26 20 71 75 6f 74 | thisTyp|e & quot|
|00005890| 65 20 26 20 22 20 26 20 | 71 75 6f 74 65 20 61 66 |e & " & |quote af|
|000058a0| 74 65 72 20 73 74 6d 74 | 22 20 26 20 72 65 74 75 |ter stmt|" & retu|
|000058b0| 72 6e 20 61 66 74 65 72 | 20 72 73 74 0d 69 66 20 |rn after| rst.if |
|000058c0| 63 68 61 72 20 35 20 74 | 6f 20 38 20 6f 66 20 74 |char 5 t|o 8 of t|
|000058d0| 68 69 73 54 79 70 65 20 | 3d 20 22 65 6e 75 6d 22 |hisType |= "enum"|
|000058e0| 20 74 68 65 6e 0d 70 75 | 74 20 45 6e 75 6d 4c 69 | then.pu|t EnumLi|
|000058f0| 6e 65 73 28 65 6e 75 6d | 49 6e 66 6f 2c 20 32 2c |nes(enum|Info, 2,|
|00005900| 20 69 74 65 6d 20 33 20 | 6f 66 20 78 2c 20 22 50 | item 3 |of x, "P|
|00005910| 61 72 61 6d 28 69 29 22 | 2c 20 66 61 6c 73 65 29 |aram(i)"|, false)|
|00005920| 20 69 6e 74 6f 20 74 65 | 6d 70 0d 69 66 20 74 65 | into te|mp.if te|
|00005930| 6d 70 20 3c 3e 20 22 22 | 20 74 68 65 6e 0d 70 75 |mp <> ""| then.pu|
|00005940| 74 20 22 20 20 20 20 70 | 75 74 20 22 20 26 20 71 |t " p|ut " & q|
|00005950| 75 6f 74 65 20 26 20 22 | 2c 22 20 26 20 71 75 6f |uote & "|," & quo|
|00005960| 74 65 20 26 20 22 20 61 | 66 74 65 72 20 73 74 6d |te & " a|fter stm|
|00005970| 74 22 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |t" & ret|urn afte|
|00005980| 72 20 72 73 74 0d 70 75 | 74 20 22 20 20 20 20 65 |r rst.pu|t " e|
|00005990| 6c 73 65 22 20 69 6e 74 | 6f 20 6c 61 73 74 20 6c |lse" int|o last l|
|000059a0| 69 6e 65 20 6f 66 20 74 | 65 6d 70 0d 70 75 74 20 |ine of t|emp.put |
|000059b0| 22 20 20 20 20 20 20 70 | 75 74 20 22 20 26 20 71 |" p|ut " & q|
|000059c0| 75 6f 74 65 20 26 20 22 | 50 61 72 61 6d 28 22 20 |uote & "|Param(" |
|000059d0| 26 20 71 75 6f 74 65 20 | 26 20 22 20 26 20 69 20 |& quote |& " & i |
|000059e0| 26 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 29 |& " & qu|ote & ")|
|000059f0| 22 20 26 20 71 75 6f 74 | 65 20 26 20 22 20 61 66 |" & quot|e & " af|
|00005a00| 74 65 72 20 73 74 6d 74 | 22 20 26 20 72 65 74 75 |ter stmt|" & retu|
|00005a10| 72 6e 20 61 66 74 65 72 | 20 74 65 6d 70 0d 70 75 |rn after| temp.pu|
|00005a20| 74 20 22 20 20 20 20 65 | 6e 64 20 69 66 22 20 26 |t " e|nd if" &|
|00005a30| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 65 | return |after te|
|00005a40| 6d 70 0d 70 75 74 20 74 | 65 6d 70 20 61 66 74 65 |mp.put t|emp afte|
|00005a50| 72 20 72 73 74 0d 70 75 | 74 20 74 72 75 65 20 69 |r rst.pu|t true i|
|00005a60| 6e 74 6f 20 70 61 72 61 | 6d 49 73 55 70 20 2d 2d |nto para|mIsUp --|
|00005a70| 20 6e 6f 77 20 77 65 20 | 68 61 76 65 20 70 75 74 | now we |have put|
|00005a80| 20 50 61 72 61 6d 20 75 | 70 0d 65 6e 64 20 69 66 | Param u|p.end if|
|00005a90| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|00005aa0| 66 20 6e 6f 74 20 70 61 | 72 61 6d 49 73 55 70 20 |f not pa|ramIsUp |
|00005ab0| 74 68 65 6e 0d 70 75 74 | 20 22 20 20 20 20 70 75 |then.put| " pu|
|00005ac0| 74 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 2c |t " & qu|ote & ",|
|00005ad0| 50 61 72 61 6d 28 22 20 | 26 20 71 75 6f 74 65 20 |Param(" |& quote |
|00005ae0| 26 20 22 20 26 20 69 20 | 26 20 22 20 26 20 71 75 |& " & i |& " & qu|
|00005af0| 6f 74 65 20 26 20 22 29 | 22 20 26 20 71 75 6f 74 |ote & ")|" & quot|
|00005b00| 65 20 26 20 22 20 61 66 | 74 65 72 20 73 74 6d 74 |e & " af|ter stmt|
|00005b10| 22 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |" & retu|rn after|
|00005b20| 20 72 73 74 0d 65 6e 64 | 20 69 66 0d 69 66 20 68 | rst.end| if.if h|
|00005b30| 61 73 4f 70 74 69 6f 6e | 61 6c 20 74 68 65 6e 0d |asOption|al then.|
|00005b40| 2d 2d 20 69 6e 63 72 65 | 6d 65 6e 74 20 69 20 69 |-- incre|ment i i|
|00005b50| 66 20 77 65 20 6e 65 65 | 64 20 69 74 20 6c 61 74 |f we nee|d it lat|
|00005b60| 65 72 0d 70 75 74 20 22 | 20 20 20 20 61 64 64 20 |er.put "| add |
|00005b70| 31 20 74 6f 20 69 22 20 | 26 20 72 65 74 75 72 6e |1 to i" |& return|
|00005b80| 20 61 66 74 65 72 20 72 | 73 74 0d 65 6e 64 20 69 | after r|st.end i|
|00005b90| 66 0d 70 75 74 20 22 20 | 20 65 6e 64 20 69 66 22 |f.put " | end if"|
|00005ba0| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00005bb0| 72 73 74 0d 65 6c 73 65 | 20 69 66 20 68 61 73 4f |rst.else| if hasO|
|00005bc0| 70 74 69 6f 6e 61 6c 20 | 74 68 65 6e 0d 70 75 74 |ptional |then.put|
|00005bd0| 20 22 20 20 70 75 74 20 | 22 20 26 20 70 61 72 61 | " put |" & para|
|00005be0| 6d 49 6e 64 65 78 20 26 | 20 22 20 69 6e 74 6f 20 |mIndex &| " into |
|00005bf0| 69 22 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |i" & ret|urn afte|
|00005c00| 72 20 72 73 74 0d 65 6e | 64 20 69 66 0d 70 75 74 |r rst.en|d if.put|
|00005c10| 20 74 72 75 65 20 69 6e | 74 6f 20 66 69 72 73 74 | true in|to first|
|00005c20| 4f 70 74 69 6f 6e 61 6c | 0d 69 66 20 68 61 73 4f |Optional|.if hasO|
|00005c30| 70 74 69 6f 6e 61 6c 20 | 74 68 65 6e 0d 70 75 74 |ptional |then.put|
|00005c40| 20 22 20 20 72 65 70 65 | 61 74 20 75 6e 74 69 6c | " repe|at until|
|00005c50| 20 69 20 3e 20 74 68 65 | 20 50 61 72 61 6d 43 6f | i > the| ParamCo|
|00005c60| 75 6e 74 22 20 26 20 72 | 65 74 75 72 6e 20 61 66 |unt" & r|eturn af|
|00005c70| 74 65 72 20 72 73 74 0d | 70 75 74 20 22 20 20 20 |ter rst.|put " |
|00005c80| 20 70 75 74 20 70 61 72 | 61 6d 28 69 29 20 69 6e | put par|am(i) in|
|00005c90| 74 6f 20 78 22 20 26 20 | 72 65 74 75 72 6e 20 61 |to x" & |return a|
|00005ca0| 66 74 65 72 20 72 73 74 | 0d 70 75 74 20 22 20 20 |fter rst|.put " |
|00005cb0| 20 20 70 75 74 20 22 20 | 26 20 71 75 6f 74 65 20 | put " |& quote |
|00005cc0| 26 20 22 2c 22 20 26 20 | 71 75 6f 74 65 20 26 20 |& "," & |quote & |
|00005cd0| 22 20 61 66 74 65 72 20 | 73 74 6d 74 22 20 26 20 |" after |stmt" & |
|00005ce0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 72 73 74 |return a|fter rst|
|00005cf0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00005d00| 68 61 73 45 6e 75 6d 0d | 72 65 70 65 61 74 20 77 |hasEnum.|repeat w|
|00005d10| 69 74 68 20 69 20 3d 20 | 33 20 74 6f 20 63 6f 75 |ith i = |3 to cou|
|00005d20| 6e 74 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |nt.set c|ursor to|
|00005d30| 20 62 75 73 79 0d 70 75 | 74 20 6c 69 6e 65 20 69 | busy.pu|t line i|
|00005d40| 20 6f 66 20 70 61 72 61 | 6d 49 6e 66 6f 20 69 6e | of para|mInfo in|
|00005d50| 74 6f 20 78 0d 70 75 74 | 20 69 74 65 6d 20 34 20 |to x.put| item 4 |
|00005d60| 6f 66 20 78 20 69 6e 74 | 6f 20 74 65 6d 70 0d 70 |of x int|o temp.p|
|00005d70| 75 74 20 28 74 65 6d 70 | 20 3e 20 33 32 37 36 37 |ut (temp| > 32767|
|00005d80| 29 20 69 6e 74 6f 20 69 | 73 4f 70 74 69 6f 6e 61 |) into i|sOptiona|
|00005d90| 6c 0d 69 66 20 69 73 4f | 70 74 69 6f 6e 61 6c 20 |l.if isO|ptional |
|00005da0| 74 68 65 6e 0d 69 66 20 | 66 69 72 73 74 4f 70 74 |then.if |firstOpt|
|00005db0| 69 6f 6e 61 6c 20 74 68 | 65 6e 0d 70 75 74 20 22 |ional th|en.put "|
|00005dc0| 20 20 20 20 22 20 61 66 | 74 65 72 20 72 73 74 0d | " af|ter rst.|
|00005dd0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 66 |put fals|e into f|
|00005de0| 69 72 73 74 4f 70 74 69 | 6f 6e 61 6c 0d 65 6c 73 |irstOpti|onal.els|
|00005df0| 65 0d 70 75 74 20 22 20 | 20 20 20 65 6c 73 65 20 |e.put " | else |
|00005e00| 22 20 61 66 74 65 72 20 | 72 73 74 0d 65 6e 64 20 |" after |rst.end |
|00005e10| 69 66 0d 70 75 74 20 48 | 54 4b 65 79 57 6f 72 64 |if.put H|TKeyWord|
|00005e20| 28 78 29 20 69 6e 74 6f | 20 74 68 69 73 4b 65 79 |(x) into| thisKey|
|00005e30| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 78 |.put ite|m 1 of x|
|00005e40| 20 69 6e 74 6f 20 74 68 | 69 73 4e 61 6d 65 0d 70 | into th|isName.p|
|00005e50| 75 74 20 53 74 72 69 70 | 53 50 28 74 68 69 73 4e |ut Strip|SP(thisN|
|00005e60| 61 6d 65 29 20 69 6e 74 | 6f 20 6e 6f 53 70 4e 61 |ame) int|o noSpNa|
|00005e70| 6d 65 0d 70 75 74 20 28 | 63 68 61 72 20 35 20 74 |me.put (|char 5 t|
|00005e80| 6f 20 38 20 6f 66 20 74 | 68 69 73 4b 65 79 20 3d |o 8 of t|hisKey =|
|00005e90| 20 22 65 6e 75 6d 22 29 | 20 69 6e 74 6f 20 69 73 | "enum")| into is|
|00005ea0| 45 6e 75 6d 0d 70 75 74 | 20 22 69 66 20 78 20 3d |Enum.put| "if x =|
|00005eb0| 20 22 20 26 20 71 75 6f | 74 65 20 26 20 74 68 69 | " & quo|te & thi|
|00005ec0| 73 4e 61 6d 65 20 26 20 | 71 75 6f 74 65 20 61 66 |sName & |quote af|
|00005ed0| 74 65 72 20 72 73 74 0d | 69 66 20 74 68 69 73 4e |ter rst.|if thisN|
|00005ee0| 61 6d 65 20 3c 3e 20 6e | 6f 53 70 4e 61 6d 65 20 |ame <> n|oSpName |
|00005ef0| 74 68 65 6e 0d 70 75 74 | 20 22 20 6f 72 20 78 20 |then.put| " or x |
|00005f00| 3d 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 6e 6f |= " & qu|ote & no|
|00005f10| 53 70 4e 61 6d 65 20 26 | 20 71 75 6f 74 65 20 61 |SpName &| quote a|
|00005f20| 66 74 65 72 20 72 73 74 | 0d 65 6e 64 20 69 66 0d |fter rst|.end if.|
|00005f30| 69 66 20 69 73 45 6e 75 | 6d 20 61 6e 64 20 28 69 |if isEnu|m and (i|
|00005f40| 74 65 6d 20 32 20 6f 66 | 20 78 20 3c 3e 20 6e 6f |tem 2 of| x <> no|
|00005f50| 53 70 4e 61 6d 65 29 20 | 74 68 65 6e 0d 70 75 74 |SpName) |then.put|
|00005f60| 20 22 20 6f 72 20 78 20 | 3d 20 22 20 26 20 71 75 | " or x |= " & qu|
|00005f70| 6f 74 65 20 26 20 69 74 | 65 6d 20 32 20 6f 66 20 |ote & it|em 2 of |
|00005f80| 78 20 26 20 71 75 6f 74 | 65 20 61 66 74 65 72 20 |x & quot|e after |
|00005f90| 72 73 74 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 22 |rst.end |if.put "|
|00005fa0| 20 74 68 65 6e 22 20 26 | 20 72 65 74 75 72 6e 20 | then" &| return |
|00005fb0| 61 66 74 65 72 20 72 73 | 74 0d 70 75 74 20 22 20 |after rs|t.put " |
|00005fc0| 20 20 20 20 20 70 75 74 | 20 71 75 6f 74 65 20 26 | put| quote &|
|00005fd0| 20 22 20 26 20 71 75 6f | 74 65 20 26 20 74 68 69 | " & quo|te & thi|
|00005fe0| 73 4b 65 79 20 26 20 71 | 75 6f 74 65 20 26 20 22 |sKey & q|uote & "|
|00005ff0| 20 26 20 71 75 6f 74 65 | 20 26 20 22 20 26 20 71 | & quote| & " & q|
|00006000| 75 6f 74 65 20 26 20 22 | 2c 22 20 26 20 71 75 6f |uote & "|," & quo|
|00006010| 74 65 20 26 20 22 20 61 | 66 74 65 72 20 73 74 6d |te & " a|fter stm|
|00006020| 74 22 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |t" & ret|urn afte|
|00006030| 72 20 72 73 74 0d 69 66 | 20 69 73 45 6e 75 6d 20 |r rst.if| isEnum |
|00006040| 74 68 65 6e 0d 70 75 74 | 20 74 72 75 65 20 69 6e |then.put| true in|
|00006050| 74 6f 20 68 61 73 45 6e | 75 6d 0d 70 75 74 20 45 |to hasEn|um.put E|
|00006060| 6e 75 6d 4c 69 6e 65 73 | 28 65 6e 75 6d 49 6e 66 |numLines|(enumInf|
|00006070| 6f 2c 20 33 2c 20 69 74 | 65 6d 20 33 20 6f 66 20 |o, 3, it|em 3 of |
|00006080| 78 2c 20 22 78 22 2c 20 | 66 61 6c 73 65 29 20 69 |x, "x", |false) i|
|00006090| 6e 74 6f 20 74 65 6d 70 | 0d 69 66 20 74 65 6d 70 |nto temp|.if temp|
|000060a0| 20 3c 3e 20 22 22 20 74 | 68 65 6e 0d 70 75 74 20 | <> "" t|hen.put |
|000060b0| 22 20 20 20 20 20 20 70 | 75 74 20 70 61 72 61 6d |" p|ut param|
|000060c0| 28 69 2b 31 29 20 69 6e | 74 6f 20 78 22 20 26 20 |(i+1) in|to x" & |
|000060d0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 72 73 74 |return a|fter rst|
|000060e0| 0d 70 75 74 20 74 65 6d | 70 20 61 66 74 65 72 20 |.put tem|p after |
|000060f0| 72 73 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |rst.end |if.end i|
|00006100| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |f.end if|.end rep|
|00006110| 65 61 74 0d 70 75 74 20 | 22 20 20 20 20 65 6c 73 |eat.put |" els|
|00006120| 65 22 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |e" & ret|urn afte|
|00006130| 72 20 72 73 74 0d 70 75 | 74 20 22 20 20 20 20 20 |r rst.pu|t " |
|00006140| 20 70 75 74 20 22 20 26 | 20 71 75 6f 74 65 20 26 | put " &| quote &|
|00006150| 20 22 50 61 72 61 6d 28 | 22 20 26 20 71 75 6f 74 | "Param(|" & quot|
|00006160| 65 20 26 20 22 20 26 20 | 69 20 26 20 22 20 26 20 |e & " & |i & " & |
|00006170| 71 75 6f 74 65 20 26 20 | 22 29 2c 22 20 26 20 71 |quote & |")," & q|
|00006180| 75 6f 74 65 20 26 20 22 | 20 61 66 74 65 72 20 73 |uote & "| after s|
|00006190| 74 6d 74 22 20 26 20 72 | 65 74 75 72 6e 20 61 66 |tmt" & r|eturn af|
|000061a0| 74 65 72 20 72 73 74 0d | 70 75 74 20 22 20 20 20 |ter rst.|put " |
|000061b0| 20 65 6e 64 20 69 66 22 | 20 26 20 72 65 74 75 72 | end if"| & retur|
|000061c0| 6e 20 61 66 74 65 72 20 | 72 73 74 0d 69 66 20 68 |n after |rst.if h|
|000061d0| 61 73 45 6e 75 6d 20 74 | 68 65 6e 0d 70 75 74 20 |asEnum t|hen.put |
|000061e0| 22 20 20 20 20 69 66 20 | 6c 61 73 74 20 63 68 61 |" if |last cha|
|000061f0| 72 20 6f 66 20 73 74 6d | 74 20 3d 20 22 20 26 20 |r of stm|t = " & |
|00006200| 71 75 6f 74 65 20 26 20 | 22 2c 22 20 26 20 71 75 |quote & |"," & qu|
|00006210| 6f 74 65 20 26 20 22 20 | 74 68 65 6e 22 20 26 20 |ote & " |then" & |
|00006220| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 72 73 74 |return a|fter rst|
|00006230| 0d 70 75 74 20 22 20 20 | 20 20 20 20 70 75 74 20 |.put " | put |
|00006240| 22 20 26 20 71 75 6f 74 | 65 20 26 20 22 50 61 72 |" & quot|e & "Par|
|00006250| 61 6d 28 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 |am(" & q|uote & "|
|00006260| 20 26 20 69 2b 31 20 26 | 20 22 20 26 20 71 75 6f | & i+1 &| " & quo|
|00006270| 74 65 20 26 20 22 29 22 | 20 26 20 71 75 6f 74 65 |te & ")"| & quote|
|00006280| 20 26 20 22 20 61 66 74 | 65 72 20 73 74 6d 74 22 | & " aft|er stmt"|
|00006290| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|000062a0| 72 73 74 0d 70 75 74 20 | 22 20 20 20 20 65 6e 64 |rst.put |" end|
|000062b0| 20 69 66 22 20 26 20 72 | 65 74 75 72 6e 20 61 66 | if" & r|eturn af|
|000062c0| 74 65 72 20 72 73 74 0d | 65 6c 73 65 0d 70 75 74 |ter rst.|else.put|
|000062d0| 20 22 20 20 20 20 70 75 | 74 20 22 20 26 20 71 75 | " pu|t " & qu|
|000062e0| 6f 74 65 20 26 20 22 50 | 61 72 61 6d 28 22 20 26 |ote & "P|aram(" &|
|000062f0| 20 71 75 6f 74 65 20 26 | 20 22 20 26 20 69 2b 31 | quote &| " & i+1|
|00006300| 20 26 20 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 | & " & q|uote & "|
|00006310| 29 22 20 26 20 71 75 6f | 74 65 20 26 20 22 20 61 |)" & quo|te & " a|
|00006320| 66 74 65 72 20 73 74 6d | 74 22 20 26 20 72 65 74 |fter stm|t" & ret|
|00006330| 75 72 6e 20 61 66 74 65 | 72 20 72 73 74 0d 65 6e |urn afte|r rst.en|
|00006340| 64 20 69 66 0d 70 75 74 | 20 22 20 20 20 20 61 64 |d if.put| " ad|
|00006350| 64 20 32 20 74 6f 20 69 | 22 20 26 20 72 65 74 75 |d 2 to i|" & retu|
|00006360| 72 6e 20 61 66 74 65 72 | 20 72 73 74 0d 70 75 74 |rn after| rst.put|
|00006370| 20 22 20 20 65 6e 64 20 | 72 65 70 65 61 74 22 20 | " end |repeat" |
|00006380| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 72 |& return| after r|
|00006390| 73 74 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 22 20 |st.end i|f.put " |
|000063a0| 20 64 6f 20 73 74 6d 74 | 22 20 26 20 72 65 74 75 | do stmt|" & retu|
|000063b0| 72 6e 20 61 66 74 65 72 | 20 72 73 74 0d 65 6c 73 |rn after| rst.els|
|000063c0| 65 20 2d 2d 20 61 6c 6c | 20 61 72 65 20 72 65 71 |e -- all| are req|
|000063d0| 75 69 72 65 64 0d 70 75 | 74 20 68 65 61 64 65 72 |uired.pu|t header|
|000063e0| 20 26 20 72 65 74 75 72 | 6e 20 62 65 66 6f 72 65 | & retur|n before|
|000063f0| 20 72 73 74 0d 70 75 74 | 20 73 68 6f 72 74 48 65 | rst.put| shortHe|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.